@vitest/browser 4.1.1 → 4.1.2
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 +2 -2
- package/dist/client/.vite/manifest.json +6 -6
- package/dist/client/__vitest__/assets/{index-C5TM4_dj.js → index-Dpc7kNBC.js} +27 -27
- package/dist/client/__vitest__/index.html +1 -1
- package/dist/client/__vitest_browser__/{orchestrator-DOndLT0I.js → orchestrator-BNCEhPrv.js} +1 -1
- package/dist/client/__vitest_browser__/{tester-FJ31y3VC.js → tester-CuvoYKLr.js} +6 -7
- package/dist/client/__vitest_browser__/{utils-Dsu9dGGg.js → utils-DCeMntTS.js} +165 -162
- package/dist/client/error-catcher.js +1 -1
- package/dist/client/orchestrator.html +2 -2
- package/dist/client/tester/tester.html +2 -2
- package/dist/client.js +1 -1
- package/dist/expect-element.js +1 -1
- package/dist/index.js +10 -3
- package/dist/shared/screenshotMatcher/types.d.ts +2 -0
- package/package.json +8 -8
package/context.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export { CDPSession };
|
|
|
21
21
|
|
|
22
22
|
export interface ScreenshotOptions extends SelectorOptions {
|
|
23
23
|
/**
|
|
24
|
-
* The HTML element to
|
|
24
|
+
* The HTML element to screenshot.
|
|
25
25
|
*/
|
|
26
26
|
element?: Element | Locator
|
|
27
27
|
/**
|
|
@@ -905,7 +905,7 @@ export type PrettyDOMOptions = Omit<StringifyOptions, 'maxLength'>
|
|
|
905
905
|
|
|
906
906
|
export const utils: {
|
|
907
907
|
/**
|
|
908
|
-
* This is
|
|
908
|
+
* This is similar to calling `page.elementLocator`, but it returns only
|
|
909
909
|
* locator selectors.
|
|
910
910
|
*/
|
|
911
911
|
getElementLocatorSelectors(element: Element): LocatorSelectors
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_utils-
|
|
3
|
-
"file": "__vitest_browser__/utils-
|
|
2
|
+
"_utils-DCeMntTS.js": {
|
|
3
|
+
"file": "__vitest_browser__/utils-DCeMntTS.js",
|
|
4
4
|
"name": "utils"
|
|
5
5
|
},
|
|
6
6
|
"orchestrator.html": {
|
|
7
|
-
"file": "__vitest_browser__/orchestrator-
|
|
7
|
+
"file": "__vitest_browser__/orchestrator-BNCEhPrv.js",
|
|
8
8
|
"name": "orchestrator",
|
|
9
9
|
"src": "orchestrator.html",
|
|
10
10
|
"isEntry": true,
|
|
11
11
|
"imports": [
|
|
12
|
-
"_utils-
|
|
12
|
+
"_utils-DCeMntTS.js"
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"tester/tester.html": {
|
|
16
|
-
"file": "__vitest_browser__/tester-
|
|
16
|
+
"file": "__vitest_browser__/tester-CuvoYKLr.js",
|
|
17
17
|
"name": "tester",
|
|
18
18
|
"src": "tester/tester.html",
|
|
19
19
|
"isEntry": true,
|
|
20
20
|
"imports": [
|
|
21
|
-
"_utils-
|
|
21
|
+
"_utils-DCeMntTS.js"
|
|
22
22
|
]
|
|
23
23
|
}
|
|
24
24
|
}
|