mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
text: fix timer.test it node 9/10
This commit is contained in:
parent
b809d58dc8
commit
2633e0c2b8
@ -94,7 +94,7 @@ describe('util: timer', () => {
|
|||||||
process.hrtime = hrtime
|
process.hrtime = hrtime
|
||||||
})
|
})
|
||||||
|
|
||||||
if (BigInt) {
|
if (typeof BigInt !== 'undefined') {
|
||||||
test('should calculate duration with bigint hrtime', () => {
|
test('should calculate duration with bigint hrtime', () => {
|
||||||
const timer = new Timer()
|
const timer = new Timer()
|
||||||
const hrtime = process.hrtime
|
const hrtime = process.hrtime
|
||||||
|
Loading…
Reference in New Issue
Block a user