UNPKG

@wix/design-system

Version:

@wix/design-system

26 lines 1.11 kB
import { UniDriver } from '@wix/unidriver-core'; export { isClassExists, makeControlled, } from '@wix/wix-ui-test-utils/react-helpers'; export declare const findBaseByHook: (base: UniDriver, hook: string) => UniDriver<any, { parent?: /*elided*/ any | undefined; base?: any; selector?: string | Promise<string>; idx?: number; timeBudget?: number; }, any>; export declare const findBaseByExactHook: (base: UniDriver, hook: string) => UniDriver<any, { parent?: /*elided*/ any | undefined; base?: any; selector?: string | Promise<string>; idx?: number; timeBudget?: number; }, any>; export declare const findByHook: (element: Element, hook: string) => Element | null; export declare const resolveIn: (timeout: number) => Promise<unknown>; export declare const ASSET_PREFIX = "http://localhost:3000/"; /** * Formatting all your dataHooks object properties to their query syntax ie. `[data-hook="${value}"]` */ export declare const getFormattedDataHooks: <T extends { [x: string]: string; }>(dataHooks: T) => Record<keyof T, string>; //# sourceMappingURL=index.d.ts.map