Testing Track • Intermediate • 6 mins review
Test: Cover DigestDispatcher background delivery
Adds coverage for digestdispatcher so we can ship the worker refactor with confidence.
Scenario Goal & Context
Goal: Write tests that prove the worker publishes notifications after processing the due records.
Background: DigestDispatcher runs asynchronously and has caused regressions around retries and notification timing.
Changed Files (2)
- src/workers/DigestDispatcher.ts +0 -0
- test/workers/DigestDispatcher.test.ts +17 -0
Ready to practice reviewing this PR?
Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.
Start Review Session