Search
boolean
false
Automatically reset mock state before every test.
When restoreMocks enabled, rstest will call .restoreAllMocks() before each test.
restoreMocks
import { defineConfig } from '@rstest/core'; export default defineConfig({ restoreMocks: true, });