mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
371 B
371 B
| title | outline |
|---|---|
| unstubGlobals | Config | deep |
unstubGlobals
- Type:
boolean - Default:
false
Should Vitest automatically call vi.unstubAllGlobals() before each test.
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
unstubGlobals: true,
},
})