Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Aug 2, 2024
1 parent a742327 commit 34f292e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,8 @@ describe('ContentManagementService', () => {
const fakeError = 'Upload error';
spyOnOpenUploadNewVersionDialog.and.returnValue(throwError(fakeError));
contentManagementService.versionUpdateDialog(fakeNode, fakeFile);
expect(spyOnDispatch).toHaveBeenCalledOnceWith(new SnackbarErrorAction(fakeError));

expect(showErrorSpy).toHaveBeenCalledOnceWith(fakeError);
});
});

Expand Down

0 comments on commit 34f292e

Please sign in to comment.