diff --git a/package.json b/package.json index 1c828d9b6..d5d49701d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsconfig.json b/tsconfig.json index 14ee5da8d..82e7166f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,8 @@ "jsx": "preserve", "incremental": false, "baseUrl": "./src", + "types": ["jest"], + "typeRoots": ["node_modules/@types"], "paths": { "react": ["./node_modules/@types/react"], "assets/*": ["./assets/*"], diff --git a/yarn.lock b/yarn.lock index 10fe1caea..03c840653 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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==