Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jan 16, 2025
1 parent 0adf4b7 commit ceacf82
Show file tree
Hide file tree
Showing 2 changed files with 2,524 additions and 180 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/client/hooks/usePruneWarningMessage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('usePruneWarningMessage hook', () => {
}),
});
expect(result.current).toEqual('a minute June 1, 2024 at 12:30 AM');
jest.advanceTimersByTime(31 * 60 * 1000);
await jest.advanceTimersByTimeAsync(31 * 60 * 1000);
expect(result.current).toEqual('a minute June 1, 2024 at 1:00 AM');
});

Expand Down
Loading

0 comments on commit ceacf82

Please sign in to comment.