@helpscout/cyan
Version:
Cypress-like Testing for React + JSDOM
24 lines (23 loc) • 768 B
TypeScript
declare function getAttribute(attr: any): any;
declare function getComputedStyle(prop: any): string | CSSStyleDeclaration;
declare function getId(): any;
declare function getTagName(): any;
declare function getValue(nextValue: any): any;
declare function getText(): any;
declare const commands: {
getAttribute: typeof getAttribute;
getAttr: typeof getAttribute;
getComputedStyle: typeof getComputedStyle;
getId: typeof getId;
getTagName: typeof getTagName;
getValue: typeof getValue;
getText: typeof getText;
attr: typeof getAttribute;
id: typeof getId;
style: typeof getComputedStyle;
tagName: typeof getTagName;
tag: typeof getTagName;
text: typeof getText;
value: typeof getValue;
};
export default commands;