Skip to content

Commit 2908e4b

Browse files
committed
Update snapshot tests
1 parent 182a3e0 commit 2908e4b

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

__tests__/__snapshots__/index.test.js.snap

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Fix any of the following:
1919
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
2020
2121
You can find more information on this issue here:
22-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
22+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
2323
2424
────────
2525
@@ -35,7 +35,7 @@ Fix any of the following:
3535
Some page content is not contained by landmarks
3636
3737
You can find more information on this issue here:
38-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI"
38+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI"
3939
`;
4040
4141
exports[`jest-axe toHaveNoViolations returns correctly formatted message when violations are present 1`] = `
@@ -64,7 +64,7 @@ https://dequeuniversity.com/rules/axe/2.6/image-alt?application=axeAPI"
6464
exports[`jest-axe toHaveNoViolations returns properly formatted text with more complex example 1`] = `
6565
"expect(received).toHaveNoViolations(expected)
6666
67-
Expected the HTML found at $('img[src$=\\"example\\\\.com\\"]') to have no violations:
67+
Expected the HTML found at $('img[src$=\\"example.com\\"]') to have no violations:
6868
6969
<img src=\\"http://example.com\\">
7070
@@ -80,9 +80,9 @@ Fix any of the following:
8080
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
8181
8282
You can find more information on this issue here:
83-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
83+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
8484
85-
Expected the HTML found at $('img[src=\\"http\\\\:\\\\/\\\\/example\\\\.com\\\\/2\\"]') to have no violations:
85+
Expected the HTML found at $('img[src=\\"http://example.com/2\\"]') to have no violations:
8686
8787
<img src=\\"http://example.com/2\\">
8888
@@ -98,7 +98,7 @@ Fix any of the following:
9898
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
9999
100100
You can find more information on this issue here:
101-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
101+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
102102
103103
────────
104104
@@ -120,11 +120,11 @@ Fix any of the following:
120120
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
121121
122122
You can find more information on this issue here:
123-
https://dequeuniversity.com/rules/axe/4.2/label?application=axeAPI
123+
https://dequeuniversity.com/rules/axe/4.4/label?application=axeAPI
124124
125125
────────
126126
127-
Expected the HTML found at $('a[href$=\\"\\\\#link-name\\"]') to have no violations:
127+
Expected the HTML found at $('a[href$=\\"#link-name\\"]') to have no violations:
128128
129129
<a href=\\"#link-name\\"></a>
130130
@@ -142,9 +142,9 @@ Fix any of the following:
142142
Element has no title attribute
143143
144144
You can find more information on this issue here:
145-
https://dequeuniversity.com/rules/axe/4.2/link-name?application=axeAPI
145+
https://dequeuniversity.com/rules/axe/4.4/link-name?application=axeAPI
146146
147-
Expected the HTML found at $('a[href$=\\"\\\\#link-name-2\\"]') to have no violations:
147+
Expected the HTML found at $('a[href$=\\"#link-name-2\\"]') to have no violations:
148148
149149
<a href=\\"#link-name-2\\"></a>
150150
@@ -162,11 +162,11 @@ Fix any of the following:
162162
Element has no title attribute
163163
164164
You can find more information on this issue here:
165-
https://dequeuniversity.com/rules/axe/4.2/link-name?application=axeAPI
165+
https://dequeuniversity.com/rules/axe/4.4/link-name?application=axeAPI
166166
167167
────────
168168
169-
Expected the HTML found at $('img[src$=\\"example\\\\.com\\"]') to have no violations:
169+
Expected the HTML found at $('img[src$=\\"example.com\\"]') to have no violations:
170170
171171
<img src=\\"http://example.com\\">
172172
@@ -178,9 +178,9 @@ Fix any of the following:
178178
Some page content is not contained by landmarks
179179
180180
You can find more information on this issue here:
181-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI
181+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI
182182
183-
Expected the HTML found at $('img[src=\\"http\\\\:\\\\/\\\\/example\\\\.com\\\\/2\\"]') to have no violations:
183+
Expected the HTML found at $('img[src=\\"http://example.com/2\\"]') to have no violations:
184184
185185
<img src=\\"http://example.com/2\\">
186186
@@ -192,7 +192,7 @@ Fix any of the following:
192192
Some page content is not contained by landmarks
193193
194194
You can find more information on this issue here:
195-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI
195+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI
196196
197197
Expected the HTML found at $('input') to have no violations:
198198
@@ -206,5 +206,5 @@ Fix any of the following:
206206
Some page content is not contained by landmarks
207207
208208
You can find more information on this issue here:
209-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI"
209+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI"
210210
`;

__tests__/__snapshots__/reactjs.test.js.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Fix any of the following:
1919
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
2020
2121
You can find more information on this issue here:
22-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI"
22+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI"
2323
`;
2424
2525
exports[`React renders correctly 1`] = `
@@ -41,7 +41,7 @@ Fix any of the following:
4141
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
4242
4343
You can find more information on this issue here:
44-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
44+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
4545
4646
────────
4747
@@ -57,7 +57,7 @@ Fix any of the following:
5757
Some page content is not contained by landmarks
5858
5959
You can find more information on this issue here:
60-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI"
60+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI"
6161
`;
6262
6363
exports[`React renders with enzyme wrapper correctly 1`] = `
@@ -79,7 +79,7 @@ Fix any of the following:
7979
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
8080
8181
You can find more information on this issue here:
82-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
82+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
8383
8484
────────
8585
@@ -95,5 +95,5 @@ Fix any of the following:
9595
Some page content is not contained by landmarks
9696
9797
You can find more information on this issue here:
98-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI"
98+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI"
9999
`;

__tests__/__snapshots__/vuejs.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Fix any of the following:
1919
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
2020
2121
You can find more information on this issue here:
22-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI"
22+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI"
2323
`;
2424
2525
exports[`Vue renders correctly 1`] = `
@@ -41,7 +41,7 @@ Fix any of the following:
4141
Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\"
4242
4343
You can find more information on this issue here:
44-
https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI
44+
https://dequeuniversity.com/rules/axe/4.4/image-alt?application=axeAPI
4545
4646
────────
4747
@@ -57,5 +57,5 @@ Fix any of the following:
5757
Some page content is not contained by landmarks
5858
5959
You can find more information on this issue here:
60-
https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI"
60+
https://dequeuniversity.com/rules/axe/4.4/region?application=axeAPI"
6161
`;

0 commit comments

Comments
 (0)