Skip to content

Commit 6b4051a

Browse files
committed
add types for jest
Signed-off-by: Winner95 <Winner95@users.noreply.github.com>
1 parent d9710ec commit 6b4051a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
},
3434
"homepage": "https://github.com/Winner95/typescript-react-function-component-props-handler#readme",
3535
"devDependencies": {
36+
"@types/jest": "^30.0.0",
3637
"@types/react": "^19.2.6",
3738
"jest": "^30.2.0",
3839
"react": "^19.2.0",

yarn.lock

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,14 @@
676676
dependencies:
677677
"@types/istanbul-lib-report" "*"
678678

679+
"@types/jest@^30.0.0":
680+
version "30.0.0"
681+
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-30.0.0.tgz#5e85ae568006712e4ad66f25433e9bdac8801f1d"
682+
integrity sha512-XTYugzhuwqWjws0CVz8QpM36+T+Dz5mTEBKhNs/esGLnCIlGdRy+Dq78NRjd7ls7r8BC8ZRMOrKlkO1hU0JOwA==
683+
dependencies:
684+
expect "^30.0.0"
685+
pretty-format "^30.0.0"
686+
679687
"@types/node@*":
680688
version "24.10.1"
681689
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.1.tgz#91e92182c93db8bd6224fca031e2370cef9a8f01"
@@ -1184,7 +1192,7 @@ exit-x@^0.2.2:
11841192
resolved "https://registry.yarnpkg.com/exit-x/-/exit-x-0.2.2.tgz#1f9052de3b8d99a696b10dad5bced9bdd5c3aa64"
11851193
integrity sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==
11861194

1187-
expect@30.2.0:
1195+
expect@30.2.0, expect@^30.0.0:
11881196
version "30.2.0"
11891197
resolved "https://registry.yarnpkg.com/expect/-/expect-30.2.0.tgz#d4013bed267013c14bc1199cec8aa57cee9b5869"
11901198
integrity sha512-u/feCi0GPsI+988gU2FLcsHyAHTU0MX1Wg68NhAnN7z/+C5wqG+CY8J53N9ioe8RXgaoz0nBR/TYMf3AycUuPw==
@@ -2035,7 +2043,7 @@ pkg-dir@^4.2.0:
20352043
dependencies:
20362044
find-up "^4.0.0"
20372045

2038-
pretty-format@30.2.0:
2046+
pretty-format@30.2.0, pretty-format@^30.0.0:
20392047
version "30.2.0"
20402048
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-30.2.0.tgz#2d44fe6134529aed18506f6d11509d8a62775ebe"
20412049
integrity sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==

0 commit comments

Comments
 (0)