Skip to content

Add ability to reset test timeout from within the test callback

Pre-release
Pre-release
Compare
Choose a tag to compare
@thetutlage thetutlage released this 08 Jul 05:57
· 38 commits to develop since this 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