UNPKG

1.1 kBTypeScriptView Raw
1import { click, dblClick } from './click';
2import { type } from './type';
3import { clear } from './clear';
4import { tab } from './tab';
5import { hover, unhover } from './hover';
6import { upload } from './upload';
7import { paste } from './paste';
8import { keyboard, specialCharMap } from './keyboard';
9declare const userEvent: {
10 click: typeof click;
11 dblClick: typeof dblClick;
12 type: typeof type;
13 clear: typeof clear;
14 tab: typeof tab;
15 hover: typeof hover;
16 unhover: typeof unhover;
17 upload: typeof upload;
18 selectOptions: (args_0: Element, args_1: string | string[] | HTMLElement | HTMLElement[], args_2?: MouseEventInit | undefined, args_3?: import("./utils").PointerOptions | undefined) => void;
19 deselectOptions: (args_0: Element, args_1: string | string[] | HTMLElement | HTMLElement[], args_2?: MouseEventInit | undefined, args_3?: import("./utils").PointerOptions | undefined) => void;
20 paste: typeof paste;
21 keyboard: typeof keyboard;
22};
23export default userEvent;
24export { specialCharMap as specialChars };
25export type { keyboardKey } from './keyboard';