Skip to content

Commit c099b32

Browse files
authored
Merge pull request #957 from lampeggiante/patch-2
Update Node.js version requirement for Vitest
2 parents d90e731 + fa48481 commit c099b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bun add -D vitest
3939
:::
4040

4141
:::tip 提示
42-
Vitest 需要 Vite >=v5.0.0 和 Node >=v20.0.0
42+
Vitest 需要 Vite >=v5.0.0 和 Node >=v18.0.0
4343
:::
4444

4545
如果在 `package.json` 中安装一份 `vitest` 的副本,可以使用上面列出的方法之一。然而,如果更倾向于直接运行 `vitest` ,可以使用 `npx vitest``npx` 是会随着 npm 和 Node.js 一起被安装)。

0 commit comments

Comments
 (0)