mirror of https://github.com/nodejs/node.git
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);
|