@sa11y/jest
Version:
Accessibility testing matcher for Jest
10 lines • 683 B
TypeScript
import { AggregatedResult } from '@jest/test-result';
/**
* Custom results processor for a11y results. 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/resultsProcessor.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 default function resultsProcessor(results: AggregatedResult): AggregatedResult;
//# sourceMappingURL=resultsProcessor.d.ts.map