Skip to content

Commit 9de741a

Browse files
committed
Bump kcd-scripts to 13.0.0
1 parent 9b7a1e2 commit 9de741a

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"@testing-library/jest-dom": "^5.11.6",
5454
"chalk": "^4.1.2",
5555
"dotenv-cli": "^4.0.0",
56-
"jest-diff": "^27.5.1",
57-
"kcd-scripts": "^11.1.0",
56+
"jest-diff": "^29.4.1",
57+
"kcd-scripts": "^13.0.0",
5858
"npm-run-all": "^4.1.5",
5959
"react": "^18.0.0",
6060
"react-dom": "^18.0.0",

src/__tests__/debug.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test('allows same arguments as prettyDOM', () => {
4242
debug(container, 6, {highlight: false})
4343
expect(console.log).toHaveBeenCalledTimes(1)
4444
expect(console.log.mock.calls[0]).toMatchInlineSnapshot(`
45-
Array [
45+
[
4646
<div>
4747
...,
4848
]

src/__tests__/new-act.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ test('async act recovers from errors', async () => {
4747
}
4848
expect(console.error).toHaveBeenCalledTimes(1)
4949
expect(console.error.mock.calls).toMatchInlineSnapshot(`
50-
Array [
51-
Array [
50+
[
51+
[
5252
call console.error,
5353
],
5454
]
@@ -65,8 +65,8 @@ test('async act recovers from sync errors', async () => {
6565
}
6666
expect(console.error).toHaveBeenCalledTimes(1)
6767
expect(console.error.mock.calls).toMatchInlineSnapshot(`
68-
Array [
69-
Array [
68+
[
69+
[
7070
call console.error,
7171
],
7272
]

tests/setup-env.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import '@testing-library/jest-dom/extend-expect'
22
import './failOnUnexpectedConsoleCalls'
3+
import {TextEncoder} from 'util'
4+
5+
global.TextEncoder = TextEncoder

0 commit comments

Comments
 (0)