Skip to content

Commit

Permalink
fix for review
Browse files Browse the repository at this point in the history
  • Loading branch information
gnaaruag committed Aug 8, 2024
1 parent 62b65a3 commit 148bb5c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ describe('FastifyFileInterceptor', () => {
expect(nextHandler.handle).toHaveBeenCalled();
});

it('should throw error when process.env.STORAGE_ENDPOINT is not defined or empty', async () => {
// mocking env vars
const OLD_ENV = process.env;

});

it('should handle errors', async () => {
const errorMessage = 'File upload failed';
const file = { originalname: 'test.jpg', mimetype: 'image/jpeg' };
Expand Down

0 comments on commit 148bb5c

Please sign in to comment.