From ff5949f9eb47d781fbcc1820d045933528a856a7 Mon Sep 17 00:00:00 2001 From: cosa65 Date: Fri, 6 Oct 2023 10:24:06 -0300 Subject: [PATCH] Add expect Signed-off-by: cosa65 --- src/__test__/utils/upload/process10XUpload.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/__test__/utils/upload/process10XUpload.test.js b/src/__test__/utils/upload/process10XUpload.test.js index bd4183fbf8..3678541502 100644 --- a/src/__test__/utils/upload/process10XUpload.test.js +++ b/src/__test__/utils/upload/process10XUpload.test.js @@ -393,6 +393,9 @@ describe('processUpload', () => { }); expect(fetchMock.mock.calls).toMatchSnapshot('fetch calls'); + + // Informs user of error + expect(pushNotificationMessage).toHaveBeenCalledWith('error', 'We couldn\'t create your sample. Please try uploading it again'); }); it('Should not upload files if there are errors beginning the multipart upload in the api', async () => {