Skip to content

Commit

Permalink
docs: fix testTransformMode version
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jul 11, 2023
1 parent 0c6f624 commit 0b893ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/index.md
Expand Up @@ -1123,7 +1123,7 @@ Will call [`vi.unstubAllGlobals`](/api/vi#vi-unstuballglobals) before each test.
### testTransformMode

- **Type:** `{ web?, ssr? }`
- **Version:** Since Vitest 0.32.0
- **Version:** Since Vitest 0.34.0

Determine the transform method for all modules inported inside a test that matches the glob pattern. By default, relies on the environment. For example, tests with JSDOM environment will process all files with `ssr: false` flag and tests with Node environment process all modules with `ssr: true`.

Expand Down

0 comments on commit 0b893ae

Please sign in to comment.