A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: fix some test warnings / errors
shamoona9085c65c59e
diff --git a/src-ui/src/app/components/manage/mail/mail.component.spec.ts b/src-ui/src/app/components/manage/mail/mail.component.spec.tsindex 4968f9d37..d1878d6d3 100644--- a/src-ui/src/app/components/manage/mail/mail.component.spec.ts+++ b/src-ui/src/app/components/manage/mail/mail.component.spec.ts@@ -158,13 +158,14 @@ describe('MailComponent', () => {it('should show errors on load if load mailAccounts failure', () => {const toastErrorSpy = jest.spyOn(toastService, 'showError')+ jest.spyOn(mailAccountService, 'getCached').mockReturnValue(of(null))jest.spyOn(mailAccountService, 'listAll').mockImplementation(() =>throwError(() => new Error('failed to load mail accounts')))completeSetup(mailAccountService)- expect(toastErrorSpy).toBeCalled()+ expect(toastErrorSpy).toHaveBeenCalled()})it('should show errors on load if load mailRules failure', () => {@@ -175,7 +176,7 @@ describe('MailComponent', () => {throwError(() => new Error('failed to load mail rules')))completeSetup(mailRuleService)- expect(toastErrorSpy).toBeCalled()+ expect(toastErrorSpy).toHaveBeenCalled()})it('should support edit / create mail account, show error if needed', () => {