downshift
Version:
🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
7 lines (6 loc) • 372 B
TypeScript
import type userEvent from '@testing-library/user-event';
type UserEvent = ReturnType<typeof userEvent.setup>;
export declare function keyDownOnInput(user: UserEvent, keys: string): Promise<void>;
export declare function changeInputValue(user: UserEvent, inputValue: string): Promise<void>;
export declare function clickOnInput(user: UserEvent): Promise<void>;
export {};