Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28f9e16

Browse files
committedMar 19, 2024
chore: Fix tests
1 parent c04b8f0 commit 28f9e16

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)
Please sign in to comment.