diff --git a/package-lock.json b/package-lock.json index fb85748f..84aa2822 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,6 +73,7 @@ "@sentry/types": "^7.44.0", "@types/file-saver": "^2.0.5", "@types/isomorphic-fetch": "0.0.36", + "@types/jest": "^29.5.13", "@types/mixpanel-browser": "^2.38.0", "@types/reach__router": "^1.3.10", "@types/react": "^17.0.39", @@ -5626,6 +5627,16 @@ "@types/istanbul-lib-report": "*" } }, + "node_modules/@types/jest": { + "version": "29.5.13", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", + "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "dev": true, + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, "node_modules/@types/js-yaml": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", @@ -22695,6 +22706,16 @@ "@types/istanbul-lib-report": "*" } }, + "@types/jest": { + "version": "29.5.13", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", + "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "dev": true, + "requires": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, "@types/js-yaml": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", diff --git a/package.json b/package.json index b03fec9f..3b82e656 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ "@sentry/types": "^7.44.0", "@types/file-saver": "^2.0.5", "@types/isomorphic-fetch": "0.0.36", + "@types/jest": "^29.5.13", "@types/mixpanel-browser": "^2.38.0", "@types/reach__router": "^1.3.10", "@types/react": "^17.0.39", diff --git a/tsconfig.json b/tsconfig.json index 6993ce2e..924ece0d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compileOnSave": false, "compilerOptions": { - "types": ["node"], + "types": ["node", "jest"], "target": "es6", "module": "esnext", "jsx": "react",