UNPKG

qunit-dom

Version:

High Level DOM Assertions for QUnit

17 lines (16 loc) 550 B
import DOMAssertions from './assertions.js'; import type { IDOMElementDescriptor } from 'dom-element-descriptors'; type TRoot = Element | Document | ShadowRoot | null; interface IAssert { dom(target?: DOMTarget, rootElement?: RootElement): DOMAssertions; } export type RootElement = TRoot; export type Assert = IAssert; export type DOMTarget = string | Element | IDOMElementDescriptor | null; declare global { type RootElement = TRoot; interface Assert extends IAssert { } } export default function (assert: Assert): void; export {};