testTimeout

  • Type: number
  • Default: 5_000
  • CLI: --testTimeout=5000

Default timeout of a test in milliseconds. 0 will disable the timeout.

CLI
rstest.config.ts
import { defineConfig } from '@rstest/core';

export default defineConfig({
  testTimeout: 5000,
});