From 673380545d7f6a6a19cb99a64ace9856c9086cb4 Mon Sep 17 00:00:00 2001 From: Jefferson Follmann Date: Fri, 12 Aug 2022 17:02:22 -0300 Subject: [PATCH] change beforeEach to beforeAll in changeProfilePicture test --- tests/domain/use-cases/change-profile-picture.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/domain/use-cases/change-profile-picture.spec.ts b/tests/domain/use-cases/change-profile-picture.spec.ts index c3bddcc..6ce9c63 100644 --- a/tests/domain/use-cases/change-profile-picture.spec.ts +++ b/tests/domain/use-cases/change-profile-picture.spec.ts @@ -18,7 +18,7 @@ describe('ChangeProfilePicture', () => { let userProfileRepo: MockProxy let sut: ChangeProfilePicture - beforeEach(() => { + beforeAll(() => { uuid = 'any_unique_id' buffer = Buffer.from('any_buffer') mimeType = 'image/png'