File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ module.exports = {
3232 kRefed,
3333 initAsyncResource,
3434 setUnrefTimeout,
35- validateTimerDuration,
36- getLibuvNow : internalBinding ( 'timers' ) . getLibuvNow ,
35+ validateTimerDuration
3736} ;
3837
3938var timers ;
Original file line number Diff line number Diff line change 33
44require ( '../common' ) ;
55const assert = require ( 'assert' ) ;
6- const { getLibuvNow } = require ( 'internal/timers' ) ;
6+ const { internalBinding } = require ( 'internal/test/binding' ) ;
7+ const { getLibuvNow } = internalBinding ( 'timers' ) ;
78
89// Return value of getLibuvNow() should easily fit in a SMI after start-up.
910assert ( getLibuvNow ( ) < 0x3ffffff ) ;
Original file line number Diff line number Diff line change 2424'use strict' ;
2525require ( '../common' ) ;
2626const assert = require ( 'assert' ) ;
27- const { getLibuvNow } = require ( 'internal/timers' ) ;
27+ const { internalBinding } = require ( 'internal/test/binding' ) ;
28+ const { getLibuvNow } = internalBinding ( 'timers' ) ;
2829
2930const N = 30 ;
3031
You can’t perform that action at this time.
0 commit comments