@sa11y/jest
Version:
Accessibility testing matcher for Jest
11 lines • 834 B
TypeScript
import { AggregatedResult } from '@jest/test-result';
/**
* Custom results processor for a11y results grouping the violations. Only affects JSON results file output.
* To be used with jest cli options --json --outputFile
* e.g. jest --json --outputFile jestResults.json --testResultsProcessor `node_modules/@sa11y/jest/dist/groupViolationResultsProcessor.js`
* Ref: https://jestjs.io/docs/configuration#testresultsprocessor-string
* - Mapping of AggregatedResult to JSON format to https://github.com/facebook/jest/blob/master/packages/jest-test-result/src/formatTestResults.ts
*/
export declare function resultsProcessor(results: AggregatedResult): AggregatedResult;
export declare function resultsProcessorManualChecks(results: AggregatedResult): AggregatedResult;
//# sourceMappingURL=groupViolationResultsProcessor.d.ts.map