Skip to content

Commit

Permalink
increase wait time in a throttle test
Browse files Browse the repository at this point in the history
  • Loading branch information
reyniersbram committed May 21, 2024
1 parent 3ea4444 commit 52fbe58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/tests/utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('throttle', () => {
throttledFunc();
throttledFunc();
throttledFunc();
vi.advanceTimersByTime(2000);
vi.advanceTimersByTime(10000);
expect(func).toHaveBeenCalledTimes(2);
});
});

0 comments on commit 52fbe58

Please sign in to comment.