Skip to content

Commit

Permalink
Merge pull request #39 from nickcolley/update-dependencies
Browse files Browse the repository at this point in the history
Bump all dependencies to latest
  • Loading branch information
NickColley authored May 27, 2018
2 parents 0518835 + 327383a commit d11606f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4,573 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
package-lock.json
40 changes: 28 additions & 12 deletions __snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
exports[`jest-axe readme first readme example should demonstrate this matcher\`s usage 1`] = `
"expect(received).toHaveNoViolations(expected)
Expected the HTML found at $('body > img') to have no violations:
Expected the HTML found at $('img') to have no violations:
<img src=\\"#\\">
Received:
\\"Images must have alternate text (image-alt)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/image-alt?application=axeAPI"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/image-alt?application=axeAPI"
`;
exports[`jest-axe readme readme react example renders correctly 1`] = `
"expect(received).toHaveNoViolations(expected)
Expected the HTML found at $('body > img') to have no violations:
Expected the HTML found at $('img') to have no violations:
<img src=\\"#\\" data-reactroot=\\"\\">
Received:
\\"Images must have alternate text (image-alt)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/image-alt?application=axeAPI"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/image-alt?application=axeAPI"
`;
exports[`jest-axe toHaveNoViolations returns correctly formatted message when violations are present 1`] = `
Expand All @@ -45,45 +45,61 @@ Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/image-al
exports[`jest-axe toHaveNoViolations returns properly formatted text with more complex example 1`] = `
"expect(received).toHaveNoViolations(expected)
Expected the HTML found at $('body > img[src$=\\"example.com\\"]') to have no violations:
Expected the HTML found at $('img[src$=\\"example.com\\"]') to have no violations:
<img src=\\"http://example.com\\">
Expected the HTML found at $('body > img:nth-child(4)') to have no violations:
Expected the HTML found at $('img[src=\\"http://example.com/2\\"]') to have no violations:
<img src=\\"http://example.com/2\\">
Received:
\\"Images must have alternate text (image-alt)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/image-alt?application=axeAPI
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/image-alt?application=axeAPI
────────
Expected the HTML found at $('body > input[type=\\"text\\"]') to have no violations:
Expected the HTML found at $('input') to have no violations:
<input type=\\"text\\">
Received:
\\"Form elements must have labels (label)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/label?application=axeAPI
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/label?application=axeAPI
────────
Expected the HTML found at $('body > a[href$=\\"#link-name\\"]') to have no violations:
Expected the HTML found at $('a[href$=\\"#link-name\\"]') to have no violations:
<a href=\\"#link-name\\"></a>
Expected the HTML found at $('body > a[href$=\\"#link-name-2\\"]') to have no violations:
Expected the HTML found at $('a[href$=\\"#link-name-2\\"]') to have no violations:
<a href=\\"#link-name-2\\"></a>
Received:
\\"Links must have discernible text (link-name)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/2.6/link-name?application=axeAPI"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/link-name?application=axeAPI
────────
Expected the HTML found at $('a[href$=\\"#link-name\\"]') to have no violations:
<a href=\\"#link-name\\"></a>
Expected the HTML found at $('a[href$=\\"#link-name-2\\"]') to have no violations:
<a href=\\"#link-name-2\\"></a>
Received:
\\"The skip-link target should exist and be focusable (skip-link)\\"
Try fixing it with this help: https://dequeuniversity.com/rules/axe/3.0/skip-link?application=axeAPI"
`;
Loading

0 comments on commit d11606f

Please sign in to comment.