UNPKG

@helpscout/cyan

Version:

Cypress-like Testing for React + JSDOM

28 lines (27 loc) 929 B
declare function contains(content: any): any; declare function exists(): boolean; declare function hasAttribute(attr: any): any; declare function hasClassName(className: any): any; declare function isTagName(tagName: any): any; declare function isChecked(): any; declare function isDisabled(): any; declare function matches(selector: any): any; declare function toContain(content: any): any; declare function toExist(): any; declare const commands: { contains: typeof contains; exists: typeof exists; hasAttribute: typeof hasAttribute; hasAttr: typeof hasAttribute; hasClassName: typeof hasClassName; hasClass: typeof hasClassName; isTagName: typeof isTagName; isTag: typeof isTagName; isChecked: typeof isChecked; isDisabled: typeof isDisabled; matches: typeof matches; is: typeof matches; toContain: typeof toContain; toExist: typeof toExist; }; export default commands;