Skip to content

Commit 5dd0737

Browse files
authored
chore: update all the things (#548)
1 parent f828237 commit 5dd0737

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"jest-in-case": "^1.0.2",
4747
"jest-serializer-ansi": "^1.0.3",
4848
"jest-watch-select-projects": "^2.0.0",
49-
"jsdom": "^16.2.2",
50-
"kcd-scripts": "^5.11.1"
49+
"kcd-scripts": "^6.0.0"
5150
},
5251
"eslintConfig": {
5352
"extends": "./node_modules/kcd-scripts/eslint.js",

src/__tests__/role-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ test.each([
176176
['<div style="visibility: visible" />', false],
177177
['<div hidden />', true],
178178
['<div style="display: none;"/>', true],
179-
['<div style="visibility: hidden;"/>', false], // bug in jsdom < 15.2
179+
['<div style="visibility: hidden;"/>', true],
180180
['<div aria-hidden="true" />', true],
181181
])('shouldExcludeFromA11yTree for %s returns %p', (html, expected) => {
182182
const {container} = render(html)

0 commit comments

Comments
 (0)