a11yanalyze
Version:
A command-line tool for developers and QA engineers to test web pages and websites for WCAG 2.2 AA accessibility compliance
22 lines • 591 B
TypeScript
/**
* Jest test setup and configuration
* Global test utilities and environment setup
*/
export {};
declare global {
namespace jest {
interface Matchers<R> {
toBeAccessible(): R;
toHaveViolations(expectedCount?: number): R;
}
}
interface Global {
testHelpers: {
createMockScanResult: (overrides?: any) => any;
createMockAccessibilityIssue: (overrides?: any) => any;
wait: (ms: number) => Promise<void>;
mockBrowser: any;
};
}
}
//# sourceMappingURL=test-setup.d.ts.map