@vitest/browser 2.0.0-beta.11 → 2.0.0-beta.12

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 CHANGED
@@ -19,6 +19,10 @@ export interface FsOptions {
19
19
  flag?: string | number
20
20
  }
21
21
 
22
+ export interface CDPSession {
23
+ // methods are defined by the provider type augmentation
24
+ }
25
+
22
26
  export interface ScreenshotOptions {
23
27
  element?: Element
24
28
  /**
@@ -242,3 +246,4 @@ export interface BrowserPage {
242
246
  }
243
247
 
244
248
  export const page: BrowserPage
249
+ export const cdp: () => CDPSession
@@ -1,24 +1,24 @@
1
1
  {
2
- "_rpc-D6HtJ5Rb.js": {
3
- "file": "__vitest_browser__/rpc-D6HtJ5Rb.js",
4
- "name": "rpc"
2
+ "_client-Dz5Ebwug.js": {
3
+ "file": "__vitest_browser__/client-Dz5Ebwug.js",
4
+ "name": "client"
5
5
  },
6
6
  "orchestrator.html": {
7
- "file": "__vitest_browser__/orchestrator-DQ4hbmZ_.js",
7
+ "file": "__vitest_browser__/orchestrator-DJ6H4qlM.js",
8
8
  "name": "orchestrator",
9
9
  "src": "orchestrator.html",
10
10
  "isEntry": true,
11
11
  "imports": [
12
- "_rpc-D6HtJ5Rb.js"
12
+ "_client-Dz5Ebwug.js"
13
13
  ]
14
14
  },
15
15
  "tester/tester.html": {
16
- "file": "__vitest_browser__/tester-IF8AbWCS.js",
16
+ "file": "__vitest_browser__/tester-DHXll_4H.js",
17
17
  "name": "tester",
18
18
  "src": "tester/tester.html",
19
19
  "isEntry": true,
20
20
  "imports": [
21
- "_rpc-D6HtJ5Rb.js"
21
+ "_client-Dz5Ebwug.js"
22
22
  ]
23
23
  }
24
24
  }