From 0b893ae8f4036bf8703fa7d9e556d7ef3ad72f55 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Tue, 11 Jul 2023 10:58:03 +0200 Subject: [PATCH] docs: fix testTransformMode version --- docs/config/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/index.md b/docs/config/index.md index efa010c2081a..78c69daf8e8a 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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`.