Skip to content

Commit deddf3b

Browse files
authored
Merge pull request #380 from yionr/patch-5
docs(cn): translate in index.md
2 parents 45e5f10 + e096dc5 commit deddf3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

guide/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,13 @@ export default defineConfig({
171171
import { defineWorkspace } from 'vitest/config'
172172

173173
export default defineWorkspace([
174-
// you can use a list of glob patterns to define your workspaces
175-
// Vitest expects a list of config files
176-
// or directories where there is a config file
174+
// 你可以用一个 glob 模式列表来定义你的工作空间
175+
// Vitest 希望一系列配置文件
176+
// 或者包含一个配置文件的目录
177177
'packages/*',
178178
'tests/*/vitest.config.{e2e,unit}.ts',
179-
// you can even run the same tests,
180-
// but with different configs in the same "vitest" process
179+
// 你甚至可以在同一个 "vitest" 进程中以不同的配置
180+
// 运行相同的测试
181181
{
182182
test: {
183183
name: 'happy-dom',

0 commit comments

Comments
 (0)