Skip to content

Commit

Permalink
Added types for jest.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Dec 13, 2024
1 parent 690ab59 commit 5ecca3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"@svgr/rollup": "^8.1.0",
"@svgr/webpack": "^8.1.0",
"@types/cypress": "^1.1.3",
"@types/jest": "^29.5.12",
"@types/jest": "^29.5.14",
"@types/node": "^20.9.0",
"@types/react": "^18.2.41",
"@types/react-dom": "^18.2.17",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"jsx": "preserve",
"incremental": false,
"baseUrl": "./src",
"types": ["jest"],
"typeRoots": ["node_modules/@types"],
"paths": {
"react": ["./node_modules/@types/react"],
"assets/*": ["./assets/*"],
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2937,7 +2937,7 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/jest@^29.5.12":
"@types/jest@^29.5.14":
version "29.5.14"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.14.tgz#2b910912fa1d6856cadcd0c1f95af7df1d6049e5"
integrity sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==
Expand Down

0 comments on commit 5ecca3d

Please sign in to comment.