Skip to content

Commit

Permalink
Add expect
Browse files Browse the repository at this point in the history
Signed-off-by: cosa65 <[email protected]>
  • Loading branch information
cosa65 committed Oct 6, 2023
1 parent 004eb4c commit ff5949f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/__test__/utils/upload/process10XUpload.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit ff5949f

Please sign in to comment.