mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +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
|
||||
})
|
||||
|
||||
if (BigInt) {
|
||||
if (typeof BigInt !== 'undefined') {
|
||||
test('should calculate duration with bigint hrtime', () => {
|
||||
const timer = new Timer()
|
||||
const hrtime = process.hrtime
|
||||
|
Loading…
Reference in New Issue
Block a user