Skip to content

Commit

Permalink
print out all the results
Browse files Browse the repository at this point in the history
  • Loading branch information
kodster28 committed Sep 5, 2023
1 parent e83b83b commit ea573d2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/accessibility-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ async function checkLinks() {
page: testPage,
runners: ["axe", "htmlcs"],
});
console.log(result)

for (const issue of result.issues) {
if (!resultsArray.includes(issue)) {
resultsArray.push(issue);
}
}

await testPage.close();
}
await page.close();
Expand Down

0 comments on commit ea573d2

Please sign in to comment.