@testing-library/user-event
Version:
Fire events the same way the user does
23 lines (22 loc) • 957 B
TypeScript
import { setupMain } from './setup';
import * as directApi from './directApi';
export type { Instance } from './setup';
export declare const userEvent: {
readonly setup: typeof setupMain;
readonly clear: typeof directApi.clear;
readonly click: typeof directApi.click;
readonly copy: typeof directApi.copy;
readonly cut: typeof directApi.cut;
readonly dblClick: typeof directApi.dblClick;
readonly deselectOptions: typeof directApi.deselectOptions;
readonly hover: typeof directApi.hover;
readonly keyboard: typeof directApi.keyboard;
readonly pointer: typeof directApi.pointer;
readonly paste: typeof directApi.paste;
readonly selectOptions: typeof directApi.selectOptions;
readonly tripleClick: typeof directApi.tripleClick;
readonly type: typeof directApi.type;
readonly unhover: typeof directApi.unhover;
readonly upload: typeof directApi.upload;
readonly tab: typeof directApi.tab;
};