File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ module.exports = {
32
32
kRefed,
33
33
initAsyncResource,
34
34
setUnrefTimeout,
35
- validateTimerDuration,
36
- getLibuvNow : internalBinding ( 'timers' ) . getLibuvNow ,
35
+ validateTimerDuration
37
36
} ;
38
37
39
38
var timers ;
Original file line number Diff line number Diff line change 3
3
4
4
require ( '../common' ) ;
5
5
const assert = require ( 'assert' ) ;
6
- const { getLibuvNow } = require ( 'internal/timers' ) ;
6
+ const { internalBinding } = require ( 'internal/test/binding' ) ;
7
+ const { getLibuvNow } = internalBinding ( 'timers' ) ;
7
8
8
9
// Return value of getLibuvNow() should easily fit in a SMI after start-up.
9
10
assert ( getLibuvNow ( ) < 0x3ffffff ) ;
Original file line number Diff line number Diff line change 24
24
'use strict' ;
25
25
require ( '../common' ) ;
26
26
const assert = require ( 'assert' ) ;
27
- const { getLibuvNow } = require ( 'internal/timers' ) ;
27
+ const { internalBinding } = require ( 'internal/test/binding' ) ;
28
+ const { getLibuvNow } = internalBinding ( 'timers' ) ;
28
29
29
30
const N = 30 ;
30
31
You can’t perform that action at this time.
0 commit comments