summaryrefslogtreecommitdiff
path: root/test/parallel/test-next-tick-doesnt-hang.js
blob: 28797b4280e716e942a168153261f3176ee789b6 (plain)
1
2
3
4
5
6
7
8
9
10
'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
});