mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
1101713cc2
PR-URL: https://github.com/nodejs/node/pull/46579 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
12 lines
391 B
JavaScript
12 lines
391 B
JavaScript
'use strict';
|
|
// Flags: --expose-internals
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
const { internalBinding } = require('internal/test/binding');
|
|
const binding = internalBinding('timers');
|
|
|
|
// Return value of getLibuvNow() should easily fit in a SMI after start-up.
|
|
// We need to use the binding as the receiver for fast API calls.
|
|
assert(binding.getLibuvNow() < 0x3ffffff);
|