@fluentui/react-northstar
Version:
A themable React component library.
16 lines (15 loc) • 685 B
TypeScript
/**
* Assert whether a child selector is or is not present in a parent node.
*
* @param parentNode - A parent DOM node
* @param childSelector - A DOM selector for the child node
* @param isPresent - Indicating whether to assert is present or is not present
*/
export declare const assertNodeContains: (parentNode: Element, childSelector: string, isPresent?: boolean) => void;
/**
* Assert whether node is or is not a child of the document.body.
*
* @param selector - A DOM selector for the parent node
* @param isPresent - Indicating whether to assert is present or is not present
*/
export declare const assertBodyContains: (selector: string, isPresent?: boolean) => void;