Testing Track • Beginner • 3 mins review
Test: Cover retry helper timeout errors
Adds a regression test around the retry helper when the wrapped task keeps timing out.
Scenario Goal & Context
Goal: Verify that the async helper rejects with the timeout error after the configured attempts are exhausted.
Background: The retry helper previously swallowed timeout errors and the team wants a focused test around that case.
Changed Files (1)
- test/utils/retryJob.test.ts +3 -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