close

testTimeout

  • 类型: number
  • 默认值: 5_000
  • CLI: --testTimeout=5000

测试的默认超时时间(以毫秒为单位)。设置为 0 禁用超时。

CLI
rstest.config.ts
npx rstest --testTimeout=5000