UNPKG

611 BTypeScriptView Raw
1import { AxeResults, Result } from 'axe-core';
2interface AxeTestResult {
3 moduleName: string;
4 testName: string;
5 urls: string[] | Set<string>;
6 routes: string[] | Set<string>;
7 helpers: string[];
8 stack: string;
9 violations: Result[];
10}
11export declare const TEST_SUITE_RESULTS: AxeTestResult[];
12export declare function middlewareReporter(axeResults: AxeResults): Promise<void>;
13export declare function pushTestResult(): void;
14/**
15 * Sets up the middleware reporter, which reports results when the test suite is done.
16 */
17export declare function setupMiddlewareReporter(): void;
18export {};