Skip to content

Commit

Permalink
tests: fix failing a11y tests from 72b06e4
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 16, 2017
1 parent a96d594 commit 969c598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/audits/accessibility/axe-audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AxeAudit extends Audit {
if (rule && rule.nodes) {
nodeDetails = rule.nodes.map(node => ({
type: 'node',
selector: node.target.join(' '),
selector: Array.isArray(node.target) ? node.target.join(' ') : '',
path: node.path,
snippet: node.snippet
}));
Expand Down

0 comments on commit 969c598

Please sign in to comment.