@testing-library/dom
Version:
Simple and complete DOM testing utilities that encourage good testing practices.
10 lines (9 loc) • 367 B
TypeScript
export function logRoles(container: HTMLElement): string
export function getRoles(container: HTMLElement): {
[index: string]: HTMLElement[]
}
/**
* https://testing-library.com/docs/dom-testing-library/api-helpers#isinaccessible
*/
export function isInaccessible(element: Element): boolean
export function computeHeadingLevel(element: Element): number | undefined