@sa11y/jest 4.1.1 → 4.1.2

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/dist/automatic.js CHANGED
@@ -80,7 +80,7 @@ function registerSa11yAutomaticChecks(opts = defaultAutoCheckOpts) {
80
80
  if (opts.runAfterEach) {
81
81
  // TODO (fix): Make registration idempotent
82
82
  (0, common_1.log)('Registering sa11y checks to be run automatically after each test');
83
- afterEach(() => automaticCheck(opts));
83
+ afterEach(async () => await automaticCheck(opts));
84
84
  }
85
85
  }
86
86
  exports.registerSa11yAutomaticChecks = registerSa11yAutomaticChecks;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sa11y/jest",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
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": "4.1.1",
28
- "@sa11y/format": "4.1.1",
29
- "@sa11y/preset-rules": "4.1.1",
27
+ "@sa11y/assert": "4.1.2",
28
+ "@sa11y/format": "4.1.2",
29
+ "@sa11y/preset-rules": "4.1.2",
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": "4.1.1",
38
- "@sa11y/test-utils": "4.1.1"
37
+ "@sa11y/common": "4.1.2",
38
+ "@sa11y/test-utils": "4.1.2"
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": "7f4a4b14351a2ec6ff3b3ad2abdc2cdd3b86e46c"
46
+ "gitHead": "6ae4e2c8424c321ac13d2d25f2e9a8a8579e85c6"
47
47
  }