Skip to content

Commit 6bbb3e2

Browse files
committed
chore: Fix tests
1 parent edb6344 commit 6bbb3e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

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

tests/toWarnDev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SOFTWARE.
2929
/* eslint-disable func-names */
3030
/* eslint-disable complexity */
3131
const util = require('util')
32-
const jestDiff = require('jest-diff').default
32+
const jestDiff = require('jest-diff').diff
3333
const shouldIgnoreConsoleError = require('./shouldIgnoreConsoleError')
3434

3535
function normalizeCodeLocInfo(str) {

0 commit comments

Comments
 (0)