diff --git a/workers/notifier/tests/worker.test.ts b/workers/notifier/tests/worker.test.ts index f6135e95..c70d7f03 100644 --- a/workers/notifier/tests/worker.test.ts +++ b/workers/notifier/tests/worker.test.ts @@ -254,6 +254,9 @@ describe('NotifierWorker', () => { message.event.isNew = true; await worker.handle(message); + + message.event.isNew = false; + await worker.handle(message); expect(worker.sendToSenderWorker).toBeCalledTimes(1); });