@testing-library/user-event
Version:
Fire events the same way the user does
4 lines (3 loc) • 332 B
TypeScript
import { type Instance } from '../setup';
export declare function selectOptions(this: Instance, select: Element, values: HTMLElement | HTMLElement[] | string[] | string): Promise<void>;
export declare function deselectOptions(this: Instance, select: Element, values: HTMLElement | HTMLElement[] | string[] | string): Promise<void>;