Skip to content

Commit

Permalink
test(notifier-worker): improve testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Jan 3, 2025
1 parent 302adcf commit c0bdc94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workers/notifier/tests/worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit c0bdc94

Please sign in to comment.