Mock date.now in flaky app/actions/team tests (#8171)
This commit is contained in:
parent
16b4ec8b60
commit
0bf501a14a
1 changed files with 1 additions and 0 deletions
|
|
@ -280,6 +280,7 @@ describe('addSearchToTeamSearchHistory', () => {
|
|||
|
||||
operator.handleTeamSearchHistory = jest.fn();
|
||||
operator.batchRecords = jest.fn();
|
||||
jest.spyOn(Date, 'now').mockImplementation(() => 1724657520366);
|
||||
});
|
||||
|
||||
afterEach(async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue