Skip to content

Commit a3a9cd5

Browse files
committed
Bump kcd-scripts to 9.x
1 parent c37ea2e commit a3a9cd5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
"jest-in-case": "^1.0.2",
7575
"jest-snapshot-serializer-ansi": "^1.0.0",
7676
"jest-watch-select-projects": "^2.0.0",
77-
"jsdom": "^16.4.0",
78-
"kcd-scripts": "^11.0.0",
77+
"jsdom": "19.0.0",
78+
"kcd-scripts": "^12.3.0",
7979
"typescript": "^4.1.2"
8080
},
8181
"eslintConfig": {

src/__tests__/role.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,11 +564,11 @@ describe('configuration', () => {
564564
queryByRole('button', {name: 'Hello, Dave!'})
565565

566566
expect(console.error).toHaveBeenCalledTimes(2)
567-
expect(console.error.mock.calls[0][0]).toMatch(
568-
'Error: Not implemented: window.computedStyle(elt, pseudoElt)',
567+
expect(console.error.mock.calls[0][0].message).toMatch(
568+
'Not implemented: window.computedStyle(elt, pseudoElt)',
569569
)
570-
expect(console.error.mock.calls[1][0]).toMatch(
571-
'Error: Not implemented: window.computedStyle(elt, pseudoElt)',
570+
expect(console.error.mock.calls[1][0].message).toMatch(
571+
'Not implemented: window.computedStyle(elt, pseudoElt)',
572572
)
573573
} finally {
574574
jest.restoreAllMocks()

0 commit comments

Comments
 (0)