We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45e5f10 + e096dc5 commit deddf3bCopy full SHA for deddf3b
guide/index.md
@@ -171,13 +171,13 @@ export default defineConfig({
171
import { defineWorkspace } from 'vitest/config'
172
173
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
+ // 你可以用一个 glob 模式列表来定义你的工作空间
+ // Vitest 希望一系列配置文件
+ // 或者包含一个配置文件的目录
177
'packages/*',
178
'tests/*/vitest.config.{e2e,unit}.ts',
179
- // you can even run the same tests,
180
- // but with different configs in the same "vitest" process
+ // 你甚至可以在同一个 "vitest" 进程中以不同的配置
+ // 运行相同的测试
181
{
182
test: {
183
name: 'happy-dom',
0 commit comments