From a254858967f5d8dad2fc6d093a26fb4c813ac604 Mon Sep 17 00:00:00 2001 From: Szymon Szafoni Date: Fri, 24 Nov 2023 11:04:38 +0100 Subject: [PATCH] revert last commit --- .../api-test/deletion-request-create.api.spec.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/server/src/modules/deletion/controller/api-test/deletion-request-create.api.spec.ts b/apps/server/src/modules/deletion/controller/api-test/deletion-request-create.api.spec.ts index ad4652f1078..e5c06bfe5b9 100644 --- a/apps/server/src/modules/deletion/controller/api-test/deletion-request-create.api.spec.ts +++ b/apps/server/src/modules/deletion/controller/api-test/deletion-request-create.api.spec.ts @@ -83,14 +83,6 @@ describe(`deletionRequest create (api)`, () => { }; describe('when create deletionRequest', () => { - beforeAll(() => { - jest.useFakeTimers(); - jest.setSystemTime(new Date()); - }); - - afterAll(() => { - jest.useRealTimers(); - }); it('should return status 202', async () => { const { deletionRequestToCreate } = setup();