UNPKG

548 BTypeScriptView Raw
1import { ElementContext, RunOptions } from 'axe-core';
2/**
3 * A wrapper method to run the a11yAudit conditionally
4 *
5 * @function a11yAuditIf
6 * @deprecated
7 * @public
8 * @param contextSelector A DOM node specifying the context to run the audit in. Defaults to '#ember-testing-container' if not specified.
9 * @param axeOptions options to provide to the axe audit. Defaults axe-core defaults.
10 */
11export default function a11yAuditIf(contextSelector?: ElementContext | RunOptions | undefined, axeOptions?: RunOptions | undefined): PromiseLike<void>;