Skip to content

Commit

Permalink
Minor README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
lpelypenko committed Oct 22, 2020
1 parent 34c96f8 commit b5a7712
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ HTML report was saved into the following directory /Users/axe-demos/artifacts/ac
import { axeHtmlReporter } from 'axe-html-reporter';

(() => {
const results = { violations: {}, passes: {}, incomplete: {}, inapplicable: {}, url: 'http://example.com' };
const results = { violations: [], passes: [], incomplete: [], inapplicable: [], url: 'http://example.com' };
// creates html report with the default name `accessibilityReport.html` file
axeHtmlReporter({
violations: results.violations,
passes: results.passes,
incomplete: results.incomplete,
inapplicable: results.inapplicable,
url: results.url
});
// creates html report with the default name `accessibilityReport.html` file and adds url and projectKey
axeHtmlReporter({
Expand Down

0 comments on commit b5a7712

Please sign in to comment.