We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
click()
1 parent ee8aa5c commit cc01536Copy full SHA for cc01536
typings/index.d.ts
@@ -13,7 +13,7 @@ export type TargetElement = Element | Window;
13
14
declare const userEvent: {
15
clear: (element: TargetElement) => void;
16
- click: (element: TargetElement) => void;
+ click: (element: TargetElement, init?: MouseEventInit) => void;
17
dblClick: (element: TargetElement) => void;
18
selectOptions: (element: TargetElement, values: string | string[]) => void;
19
type: (
0 commit comments