slowTestThreshold

  • Type: number
  • Default: 300
  • CLI: --slowTestThreshold=300

The number of milliseconds after which a test or suite is considered slow and reported as such in the results.

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

export default defineConfig({
  slowTestThreshold: 300,
});