Skip to content

Commit

Permalink
docs: Mocking: Config option is called unstubEnvs, method is called u…
Browse files Browse the repository at this point in the history
…nstubAllEnvs (#6579)
  • Loading branch information
molily authored Sep 27, 2024
1 parent 7dd2ecf commit 1800167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
})
```

0 comments on commit 1800167

Please sign in to comment.