diff --git a/index.js b/index.js index 0b2bea5..53f410e 100644 --- a/index.js +++ b/index.js @@ -66,7 +66,7 @@ const toHaveNoViolations = { const horizontalLine = '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500' return violations.map(violation => { - var htmlAndTarget = violation.nodes.map(node => { + const htmlAndTarget = violation.nodes.map(node => { const selector = node.target.join(', ') return ( `Expected the HTML found at $('${selector}') to have no violations:` +