From 35a3b372354dc483d8fe0715694bb227b2d3f6c4 Mon Sep 17 00:00:00 2001 From: Martin Andreev Date: Tue, 31 Oct 2023 16:29:12 +0200 Subject: [PATCH] fix: hotfix for unit tests --- tests/e2e/bucket-service.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e/bucket-service.test.ts b/tests/e2e/bucket-service.test.ts index ba3fc189..92e4bf0b 100644 --- a/tests/e2e/bucket-service.test.ts +++ b/tests/e2e/bucket-service.test.ts @@ -23,8 +23,6 @@ describe('Bucket service', () => { bucketService = testingModule.get(BucketsService); - jest.setTimeout(30000); - await bucketService.create(testBucket); }); @@ -54,6 +52,7 @@ describe('Bucket service', () => { }); it('should not be able to delete bucket that does not exist', async () => { + jest.setTimeout(30000); const bucketName = 'test-bucket-not-existing'; await expect(bucketService.delete(bucketName)).rejects.toThrow();