tests to ensure entries are created
This commit is contained in:
@@ -24,6 +24,7 @@ jest.mock('@services/cache_service', () => {
|
||||
|
||||
beforeAll(() => server.listen())
|
||||
beforeEach(() => {
|
||||
jest.clearAllMocks();
|
||||
jest.spyOn(Date, 'now').mockImplementation(() => 1234567890);
|
||||
})
|
||||
afterEach(() => () => {
|
||||
|
||||
Reference in New Issue
Block a user