Skip to content

Commit 7bcea20

Browse files
strakerljharb
authored andcommitted
[Tests] update axe-core
1 parent f13dc38 commit 7bcea20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/__util__/axeMapping.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
import * as axe from 'axe-core';
33

44
export function axeFailMessage(checkId, data) {
5-
return axe._audit.data.checks[checkId].messages.fail(data);
5+
return axe.utils.getCheckMessage(checkId, 'fail', data);
66
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"aria-query": "^4.0.1",
6363
"array-includes": "^3.0.3",
6464
"ast-types-flow": "^0.0.7",
65-
"axe-core": "=3.4.1",
65+
"axe-core": "^3.5.2",
6666
"axobject-query": "^2.1.1",
6767
"damerau-levenshtein": "^1.0.4",
6868
"emoji-regex": "^7.0.2",

0 commit comments

Comments
 (0)