Added types for jest.

This commit is contained in:
Mike Cao 2024-12-12 21:28:19 -08:00
parent 690ab5916d
commit 5ecca3d005
3 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -22,6 +22,8 @@
"jsx": "preserve",
"incremental": false,
"baseUrl": "./src",
"types": ["jest"],
"typeRoots": ["node_modules/@types"],
"paths": {
"react": ["./node_modules/@types/react"],
"assets/*": ["./assets/*"],

View File

@ -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==