mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
242 B
15 lines
242 B
14 years ago
|
var common = require('../common');
|
||
|
var assert = require('assert');
|
||
|
|
||
|
var t = Date.now();
|
||
|
var diff;
|
||
13 years ago
|
setTimeout(function() {
|
||
14 years ago
|
diff = Date.now() - t;
|
||
|
console.error(diff);
|
||
|
}, 0.1);
|
||
|
|
||
|
|
||
|
process.on('exit', function() {
|
||
14 years ago
|
assert.ok(diff < 100);
|
||
14 years ago
|
});
|