Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
osher committed Aug 27, 2024
2 parents 0015685 + 83638eb commit 6a2053c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/guide/mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Vitest doesn't provide any file system mocking API out of the box. You can use `

### Example

To automatially redirect every `fs` call to `memfs`, you can create `__mocks__/fs.cjs` and `__mocks__/fs/promises.cjs` files at the root of your project:
To automatically redirect every `fs` call to `memfs`, you can create `__mocks__/fs.cjs` and `__mocks__/fs/promises.cjs` files at the root of your project:

::: code-group
```ts [__mocks__/fs.cjs]
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"why-is-node-running": "^2.3.0"
},
"devDependencies": {
"@antfu/install-pkg": "^0.4.0",
"@antfu/install-pkg": "^0.4.1",
"@edge-runtime/vm": "^4.0.1",
"@sinonjs/fake-timers": "11.1.0",
"@types/debug": "^4.1.12",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a2053c

Please sign in to comment.