• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3// Tests that process.hrtime.bigint() works.
4
5require('../common');
6const assert = require('assert');
7
8const start = process.hrtime.bigint();
9assert.strictEqual(typeof start, 'bigint');
10
11const end = process.hrtime.bigint();
12assert.strictEqual(typeof end, 'bigint');
13
14assert(end - start >= 0n);
15