Skip to content

Commit

Permalink
[Tests] update axe-core
Browse files Browse the repository at this point in the history
  • Loading branch information
straker authored and ljharb committed Mar 9, 2020
1 parent f13dc38 commit 7bcea20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/__util__/axeMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
import * as axe from 'axe-core';

export function axeFailMessage(checkId, data) {
return axe._audit.data.checks[checkId].messages.fail(data);
return axe.utils.getCheckMessage(checkId, 'fail', data);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"aria-query": "^4.0.1",
"array-includes": "^3.0.3",
"ast-types-flow": "^0.0.7",
"axe-core": "=3.4.1",
"axe-core": "^3.5.2",
"axobject-query": "^2.1.1",
"damerau-levenshtein": "^1.0.4",
"emoji-regex": "^7.0.2",
Expand Down

0 comments on commit 7bcea20

Please sign in to comment.