Skip to content

Commit

Permalink
fix: hotfix for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinAndreev committed Oct 31, 2023
1 parent 5bb55dc commit 35a3b37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/bucket-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ describe('Bucket service', () => {

bucketService = testingModule.get(BucketsService);

jest.setTimeout(30000);

await bucketService.create(testBucket);
});

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 35a3b37

Please sign in to comment.