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()