Skip to content

Commit

Permalink
docs: fix typo (#4066)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoTwT committed Sep 4, 2023
1 parent 0c13c39 commit c48fef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/index.md
Expand Up @@ -1296,7 +1296,7 @@ Will call [`vi.unstubAllGlobals`](/api/vi#vi-unstuballglobals) before each test.
- **Type:** `{ web?, ssr? }`
- **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`.
Determine the transform method for all modules imported 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`.

#### testTransformMode.ssr

Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/types/config.ts
Expand Up @@ -530,7 +530,7 @@ export interface InlineConfig {
uiBase?: string

/**
* Determine the transform method for all modules inported inside a test that matches the glob pattern.
* Determine the transform method for all modules imported inside a test that matches the glob pattern.
*/
testTransformMode?: TransformModePatterns

Expand Down

0 comments on commit c48fef5

Please sign in to comment.