You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/advanced/test-specification.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,8 @@ Vite 模块图中的模块 ID。通常,它是一个使用 POSIX 分隔符的
44
44
45
45
测试模块将运行的 [`pool`](/config/pool)。
46
46
47
-
<!-- TODO: translation -->
48
-
49
47
::: danger
50
-
It's possible to have multiple pools in a single test project with [`typecheck.enabled`](/config/typecheck#typecheck-enabled). This means it's possible to have several specifications with the same `moduleId`but different `pool`. In later versions, the project will only support a single pool.
A regexp that matches the name of the test in this module. This value will override the global [`testNamePattern`](/config/testnamepattern)option if it's set.
Thisisdifferentfrom[`start`](#start) becauseitdoesnotcreateacoverageprovider, trigger`onInit`and`onWatcherStart`events, orthrowanerroriftherearenofilestorun (inthiscase, thefunction will return empty arrays without triggering a test run).
Createsareportthatislimitedtothegivenscope. `Report`followsVitest's rules around [Storing artifacts on file system](/guide/advanced/reporters.html#storing-artifacts-on-file-system).
`Report`providescollectionofutilitiesforwritingtestresults, temporaryfilesandotherartifactsonthefilesystem. It's especially intended for third party integrations like custom reporters.
0 commit comments