Testing Track • Intermediate • 4 mins review

Test: Cover InvoiceRetryWorker background delivery

Adds coverage for invoiceretryworker 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: InvoiceRetryWorker runs asynchronously and has caused regressions around retries and notification timing.

Changed Files (2)

  • src/workers/InvoiceRetryWorker.ts +0 -0
  • test/workers/InvoiceRetryWorker.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