mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
22f5c0892b
PR-URL: https://github.com/nodejs/node/pull/23995 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
'use strict';
|
|
// Flags: --expose-internals
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const { internalBinding } = require('internal/test/binding');
|
|
const { getLibuvNow } = internalBinding('timers');
|
|
|
|
// Return value of getLibuvNow() should easily fit in a SMI after start-up.
|
|
assert(getLibuvNow() < 0x3ffffff);
|