TestOptions

Bun

Symbol

TestOptions

interface TestOptions

  • repeats?: number

    Sets the number of times to repeat the test, regardless of whether it passed or failed.

  • retry?: number

    Sets the number of times to retry the test if it fails.

  • timeout?: number

    Sets the timeout for the test in milliseconds.

    If the test does not complete within this time, the test will fail with:

    'Timeout: test {name} timed out after 5000ms'