ajout support 6.2.3

This commit is contained in:
Rudy Masson 2022-11-16 15:48:15 +01:00
parent 0a4804e848
commit 463797b97d
1 changed files with 2 additions and 1 deletions

View File

@ -5,12 +5,13 @@ const builder = require('junit-report-builder');
const report = module.exports = {};
// Pa11y version support
report.supports = '^5.0.0 || ^5.0.0-alpha || ^5.0.0-beta';
report.supports = '^5.0.0 || ^5.0.0-alpha || ^5.0.0-beta || ^6.2.3';
// Output formatted results
report.results = results => {
// Create a test suite
console.log('reporter junit local');
const suite = builder.testSuite().name(results.pageUrl);
results.issues.forEach(issue => {