tests to ensure entries are created

This commit is contained in:
iPromKnight
2024-02-09 14:59:27 +00:00
committed by iPromKnight
parent c2ada8344e
commit 36864e4db1
9 changed files with 260 additions and 16 deletions

View File

@@ -24,6 +24,7 @@ jest.mock('@services/cache_service', () => {
beforeAll(() => server.listen())
beforeEach(() => {
jest.clearAllMocks();
jest.spyOn(Date, 'now').mockImplementation(() => 1234567890);
})
afterEach(() => () => {