Skip to content

Commit

Permalink
frontend: restore timers after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBuragev committed Jan 19, 2023
1 parent b63effc commit 5eda6d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/tests/unit/services/events/filter-utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ describe('filter-utils', () => {
vi.useFakeTimers();
});

afterEach(() => {
vi.useRealTimers();
});

describe('fetchUntilFirstMatchingEvent()', () => {
it('does nothing if block range is negative and returns false', async () => {
const contract = { queryFilter: vi.fn() };
Expand Down

0 comments on commit 5eda6d5

Please sign in to comment.