@vitest/browser 0.29.6 → 0.29.7
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.
|
@@ -502,6 +502,8 @@ ws.addEventListener("open", async () => {
|
|
|
502
502
|
});
|
|
503
503
|
let hasSnapshot = false;
|
|
504
504
|
async function runTests(paths, config2, client2) {
|
|
505
|
+
const viteClientPath = "/@vite/client";
|
|
506
|
+
await __vitePreload(() => import(viteClientPath), true ? [] : void 0);
|
|
505
507
|
const path = "/__vitest_index__";
|
|
506
508
|
const { startTests, setupCommonEnv, setupSnapshotEnvironment } = await __vitePreload(() => import(path), true ? [] : void 0);
|
|
507
509
|
if (!runner) {
|
package/dist/client/index.html
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/browser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.7",
|
|
5
5
|
"description": "Browser running for Vitest",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
"modern-node-polyfills": "0.1.0",
|
|
33
33
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
34
34
|
"sirv": "^2.0.2",
|
|
35
|
-
"@vitest/runner": "0.29.
|
|
35
|
+
"@vitest/runner": "0.29.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/ws": "^8.5.4",
|
|
39
39
|
"rollup": "^2.79.1",
|
|
40
|
-
"@vitest/ws-client": "0.29.
|
|
41
|
-
"vitest": "0.29.
|
|
40
|
+
"@vitest/ws-client": "0.29.7",
|
|
41
|
+
"@vitest/ui": "0.29.7",
|
|
42
|
+
"vitest": "0.29.7"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
45
|
"build": "rimraf dist && pnpm build:node && pnpm build:client && pnpm copy",
|