node/test/parallel/test-next-tick-doesnt-hang.js

11 lines
241 B
JavaScript

'use strict';
/*
* This test verifies that having a single nextTick statement and nothing else
* does not hang the event loop. If this test times out it has failed.
*/
require('../common');
process.nextTick(function() {
// Nothing
});