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

9 lines
205 B
JavaScript

/*
* 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.
*/
process.nextTick(function() {
// Nothing
});