diff --git a/jest.config.js b/jest.config.js index 71879e8f573..99ff3be5852 100644 --- a/jest.config.js +++ b/jest.config.js @@ -15,4 +15,5 @@ module.exports = { moduleNameMapper: pathsToModuleNameMapper(tsconfig.compilerOptions.paths, { prefix: `${ROOT_DIR}/` }), collectCoverage: false, cacheDirectory: resolve(ROOT_DIR, `${CI ? '' : 'node_modules/'}.cache/jest`), + preset: 'ts-jest', }; diff --git a/tsconfig.json b/tsconfig.json index 60c649e1e58..23de5dbf0a5 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,11 +17,7 @@ "declaration": true, "downlevelIteration": true, - "suppressImplicitAnyIndexErrors": true, - "noImplicitAny": true, - "alwaysStrict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "strict": true, "skipLibCheck": true, "paths": {