diff --git a/src/tests/async.test.ts b/src/tests/async.test.ts index 79c1a63b..aeaa6b32 100644 --- a/src/tests/async.test.ts +++ b/src/tests/async.test.ts @@ -2,10 +2,10 @@ import { assert } from 'chai' import * as _ from '..' import { AggregateError } from '../async' -// fix error of calling useFakeTimers https://stackoverflow.com/a/77694958/5131623 -Object.defineProperty(global, 'performance', { - writable: true -}) +// fix error of calling useFakeTimers on nodejs version v20.12.1 https://stackoverflow.com/a/77694958/5131623 +// Object.defineProperty(global, 'performance', { +// writable: true +// }) describe('async module', () => { beforeEach(() => jest.useFakeTimers({ advanceTimers: true }))