@happyvertical/smrt-vitest 0.70.2 → 0.70.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/setup.d.ts +5 -0
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +7 -2
- package/dist/setup.js.map +1 -1
- package/dist/test-home.global-setup.d.ts +1 -1
- package/dist/test-home.global-setup.d.ts.map +1 -1
- package/dist/test-home.global-setup.js +19 -1
- package/dist/test-home.global-setup.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -97,6 +97,17 @@ tests that inspect generated metadata read `getTestManifestPath()`. The
|
|
|
97
97
|
snapshot directory is removed when the run exits, and directories left by
|
|
98
98
|
ended runs are pruned at the next startup.
|
|
99
99
|
|
|
100
|
+
Worker manifest registration has a 30-second minimum setup-hook budget to allow
|
|
101
|
+
module loading on shared runners. Only that asynchronous hook receives this
|
|
102
|
+
budget; global hook and test timeouts stay as configured. Larger consumer
|
|
103
|
+
`hookTimeout` values (including CLI overrides) and `hookTimeout: 0` (unlimited)
|
|
104
|
+
are preserved through the plugin's global setup.
|
|
105
|
+
|
|
106
|
+
The shared global setup also isolates home/state for Playwright and standalone
|
|
107
|
+
callers, including calls without an argument. Hook-budget forwarding runs only
|
|
108
|
+
when the caller supplies Vitest's public `config`/`provide` context; other
|
|
109
|
+
callers keep the same home creation and returned cleanup behavior.
|
|
110
|
+
|
|
100
111
|
### Pool and Isolation
|
|
101
112
|
|
|
102
113
|
Measured on a 333-file, 3,259-test unit suite, 16 cores (#2897, follow-up to #2893):
|