Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-next-tick-doesnt-hang.js « parallel « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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
});