string[]
[]
A list of paths to modules that run some code to configure or set up the testing environment, they will be run before each test file.
import { defineConfig } from '@rstest/core'; export default defineConfig({ setupFiles: ['./scripts/rstest.setup.ts'], });