@vitest/browser 3.0.5 → 3.0.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.
- package/context.d.ts +8 -8
- package/dist/client/.vite/manifest.json +6 -6
- package/dist/client/__vitest__/assets/index-BX_iUIjH.js +52 -0
- package/dist/client/__vitest__/index.html +2 -2
- package/dist/client/__vitest_browser__/{orchestrator-vOivV83Y.js → orchestrator-DeY4LJgz.js} +2 -1
- package/dist/client/__vitest_browser__/tester-Cqa_buNy.js +15505 -0
- package/dist/client/__vitest_browser__/{utils-Owv5OOOf.js → utils-CBFLDkwI.js} +23 -0
- package/dist/client/orchestrator.html +2 -2
- package/dist/client/tester/tester.html +2 -2
- package/dist/client.js +5 -5
- package/dist/context.js +6 -9
- package/dist/{index--cbQOwRJ.js → index-fqTesRIH.js} +3 -14
- package/dist/index.d.ts +6 -7
- package/dist/index.js +34 -25
- package/dist/locators/index.d.ts +0 -3
- package/dist/locators/index.js +2 -2
- package/dist/locators/playwright.js +2 -2
- package/dist/locators/preview.js +2 -2
- package/dist/locators/webdriverio.js +2 -2
- package/dist/providers.js +1 -1
- package/dist/{public-utils-DldpEzVw.js → public-utils-J4vwTaki.js} +100 -102
- package/dist/state.js +1 -1
- package/dist/utils.js +1 -1
- package/dist/{webdriver-kh_HHy0p.js → webdriver-C5-VI7VH.js} +17 -8
- package/dummy.js +0 -0
- package/jest-dom.d.ts +1 -2
- package/package.json +21 -19
- package/providers/webdriverio.d.ts +4 -2
- package/dist/client/__vitest__/assets/index-CkLwJNkP.js +0 -52
- package/dist/client/__vitest_browser__/tester-BbJOQDQr.js +0 -13875
- /package/dist/client/__vitest__/assets/{index-D-vGI2PU.css → index-CV9H8iCm.css} +0 -0
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
})();
|
|
24
24
|
</script>
|
|
25
25
|
<!-- !LOAD_METADATA! -->
|
|
26
|
-
<script type="module" src="./assets/index-
|
|
27
|
-
<link rel="stylesheet" href="./assets/index-
|
|
26
|
+
<script type="module" src="./assets/index-BX_iUIjH.js"></script>
|
|
27
|
+
<link rel="stylesheet" href="./assets/index-CV9H8iCm.css">
|
|
28
28
|
</head>
|
|
29
29
|
<body>
|
|
30
30
|
<div id="app"></div>
|
package/dist/client/__vitest_browser__/{orchestrator-vOivV83Y.js → orchestrator-DeY4LJgz.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { g as getBrowserState, a as getConfig, r as relative } from "./utils-
|
|
4
|
+
import { g as getBrowserState, a as getConfig, r as relative } from "./utils-CBFLDkwI.js";
|
|
5
5
|
import { client, channel, globalChannel } from "@vitest/browser/client";
|
|
6
6
|
function generateHash(str) {
|
|
7
7
|
let hash = 0;
|
|
@@ -156,6 +156,7 @@ class IframeOrchestrator {
|
|
|
156
156
|
}
|
|
157
157
|
break;
|
|
158
158
|
}
|
|
159
|
+
// error happened at the top level, this should never happen in user code, but it can trigger during development
|
|
159
160
|
case "error": {
|
|
160
161
|
const iframeId = e.data.id;
|
|
161
162
|
this.iframes.delete(iframeId);
|