Skip to content

Commit

Permalink
Move useRealTimers to afterAll
Browse files Browse the repository at this point in the history
  • Loading branch information
markkaylor committed Jan 25, 2023
1 parent 85916f4 commit 37a6c05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jest.mock('../../../../server/register');
describe('Audit logs service', () => {
afterEach(() => {
jest.resetModules();
jest.useRealTimers();
});

afterAll(() => {
jest.resetAllMocks();
jest.useRealTimers();
});

describe('Init with audit logs disabled', () => {
Expand Down

0 comments on commit 37a6c05

Please sign in to comment.