From dcb20e6ea612d8ca2e169e12e33c268855517962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Thu, 3 Nov 2022 11:00:48 +0100 Subject: [PATCH] fix(scheduler): specs --- packages/scheduler/src/Domain/Job/JobDoneInterpreter.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/scheduler/src/Domain/Job/JobDoneInterpreter.spec.ts b/packages/scheduler/src/Domain/Job/JobDoneInterpreter.spec.ts index 6fc3d3396..fc8a4b2a7 100644 --- a/packages/scheduler/src/Domain/Job/JobDoneInterpreter.spec.ts +++ b/packages/scheduler/src/Domain/Job/JobDoneInterpreter.spec.ts @@ -3,6 +3,7 @@ import { DiscountWithdrawRequestedEvent, DomainEventPublisherInterface, EmailMessageRequestedEvent, + ExitDiscountWithdrawRequestedEvent, } from '@standardnotes/domain-events' import { PredicateName } from '@standardnotes/predicates' import 'reflect-metadata' @@ -48,6 +49,9 @@ describe('JobDoneInterpreter', () => { domainEventFactory.createDiscountWithdrawRequestedEvent = jest .fn() .mockReturnValue({} as jest.Mocked) + domainEventFactory.createExitDiscountWithdrawRequestedEvent = jest + .fn() + .mockReturnValue({} as jest.Mocked) domainEventPublisher = {} as jest.Mocked domainEventPublisher.publish = jest.fn()