@vitest/browser 2.0.4 → 2.1.0-beta.1

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.
@@ -1,9 +1,18 @@
1
- import type { RemoteOptions } from 'webdriverio'
1
+ import type { RemoteOptions, ClickOptions, DragAndDropOptions } from 'webdriverio'
2
2
  import '../matchers.js'
3
3
 
4
4
  declare module 'vitest/node' {
5
5
  interface BrowserProviderOptions extends RemoteOptions {}
6
6
 
7
+ export interface UserEventClickOptions extends ClickOptions {}
8
+
9
+ export interface UserEventDragOptions extends DragAndDropOptions {
10
+ sourceX?: number
11
+ sourceY?: number
12
+ targetX?: number
13
+ targetY?: number
14
+ }
15
+
7
16
  export interface BrowserCommandContext {
8
17
  browser: WebdriverIO.Browser
9
18
  }