From a2b696d71f6e4d742a3c732078bb6bff4155c4c4 Mon Sep 17 00:00:00 2001 From: Jason McCollum Date: Fri, 19 Jan 2024 10:50:51 -0800 Subject: [PATCH] Update download.effects.spec.ts --- .../frontend/src/app/core/effects/download.effects.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/frontend/src/app/core/effects/download.effects.spec.ts b/application/frontend/src/app/core/effects/download.effects.spec.ts index bf8cc803..8b48589e 100644 --- a/application/frontend/src/app/core/effects/download.effects.spec.ts +++ b/application/frontend/src/app/core/effects/download.effects.spec.ts @@ -45,7 +45,10 @@ describe('DownloadEffects', () => { useValue: jasmine.createSpyObj('matDialog', ['getDialogById', 'open']), }, { provide: FileService, useValue: fileService }, - { provide: MessageService, useValue: jasmine.createSpyObj(['error']) }, + { + provide: MessageService, + useValue: jasmine.createSpyObj('messageService', ['error'], { messages: [] }), + }, provideMockStore({ selectors: [ { selector: fromDownload.selectDownload, value: null },