Add ability to reset test timeout from within the test callback
Pre-release
Pre-release
You can call the resetTimeout
method within the test callback to reset the test timeout.
test('title', ({ test: self }) => {
self.resetTimeout()
})
We might add a helper within the test context to destructure the resetTimeout
method directly
Commits
- feat: add ability to resetTimeout within the test callback 433ede5
- refactor: test timeout timer logic 10fdb34
- chore: update dependencies 9f28876
Full Changelog: v8.0.0-8...v8.0.0-9