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

test-regress-GH-897.js « parallel « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fae1bd4b5d2a729c88472120088b23608e28d27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var common = require('../common');
var assert = require('assert');

var t = Date.now();
var diff;
setTimeout(function() {
  diff = Date.now() - t;
  console.error(diff);
}, 0.1);


process.on('exit', function() {
  assert.ok(diff < 100);
});