Skip to content

Commit

Permalink
Fix fake timers in jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Jun 21, 2023
1 parent 023a25d commit ca4e43b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/strategy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import snapshot from '../src';
import snapshotjs from '@snapshot-labs/snapshot.js';
import addresses from './addresses.json';

jest.useFakeTimers({ advanceTimers: true });

const strategyArg =
process.env['npm_config_strategy'] ||
(
Expand Down

0 comments on commit ca4e43b

Please sign in to comment.