diff --git a/docs/guide/mocking.md b/docs/guide/mocking.md index 0b5979c8c668..4194290209f7 100644 --- a/docs/guide/mocking.md +++ b/docs/guide/mocking.md @@ -761,7 +761,7 @@ it('the value is restored before running an other test', () => { // vitest.config.ts export default defineConfig({ test: { - unstubAllEnvs: true, + unstubEnvs: true, } }) ```