@sa11y/jest 4.1.4 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Accessibility matcher for [Jest](https://jestjs.io)
|
|
|
18
18
|
- [Sa11y results processor](#sa11y-results-processor)
|
|
19
19
|
- [JSON result transformation](#json-result-transformation)
|
|
20
20
|
- [Limitations](#limitations)
|
|
21
|
+
- [Disabled Checks](#disabled-checks)
|
|
21
22
|
|
|
22
23
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
23
24
|
|
|
@@ -273,3 +274,7 @@ Automatic checks currently has the following limitations.
|
|
|
273
274
|
- With the sa11y results processor, the originating test from which the a11y failures are extracted is disabled and test counts adjusted accordingly
|
|
274
275
|
- But the original test suite failure message still contains the a11y failures.
|
|
275
276
|
- The test suite failure message is typically not displayed or used in testing workflows. But if your testing workflow uses the test suite failure message, this might cause confusion.
|
|
277
|
+
|
|
278
|
+
### Disabled Checks
|
|
279
|
+
|
|
280
|
+
- @sa11y/jest automatic checks also disabled rules which were disabled in `toBeAccessible` Jest API ([disabled-checks](https://github.com/salesforce/sa11y/tree/master/packages/jest#disabled-checks))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sa11y/jest",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Accessibility testing matcher for Jest",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"homepage": "https://github.com/salesforce/sa11y/tree/master/packages/jest#readme",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@jest/test-result": "^27",
|
|
27
|
-
"@sa11y/assert": "
|
|
28
|
-
"@sa11y/format": "
|
|
29
|
-
"@sa11y/preset-rules": "
|
|
27
|
+
"@sa11y/assert": "5.0.0",
|
|
28
|
+
"@sa11y/format": "5.0.0",
|
|
29
|
+
"@sa11y/preset-rules": "5.0.0",
|
|
30
30
|
"jest-matcher-utils": "^27"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@jest/globals": "28.1.3",
|
|
37
|
-
"@sa11y/common": "
|
|
38
|
-
"@sa11y/test-utils": "
|
|
37
|
+
"@sa11y/common": "5.0.0",
|
|
38
|
+
"@sa11y/test-utils": "5.0.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": "^14 || ^16"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "53d478df849731168ec0963c6f76fcbd42ee8cd7"
|
|
47
47
|
}
|