Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump all dependencies to latest #39

Merged
merged 2 commits into from
May 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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