From 7a53661c2eb3efa0a459947773d637005304a740 Mon Sep 17 00:00:00 2001 From: Stepan Usatiuk Date: Wed, 16 Feb 2022 18:16:15 +0000 Subject: [PATCH] fix jest tests --- frontend/jest.config.js | 3 --- frontend/tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/jest.config.js b/frontend/jest.config.js index 106a341..316f340 100644 --- a/frontend/jest.config.js +++ b/frontend/jest.config.js @@ -8,9 +8,6 @@ module.exports = { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/src/fileMock.ts", "\\.(css|less|scss)$": "/src/styleMock.ts", - ...pathsToModuleNameMapper(compilerOptions.paths, { - prefix: "/src/", - }), "react-spring/renderprops": "/node_modules/react-spring/renderprops.cjs", "react-spring": "/node_modules/react-spring/web.cjs", diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 01e3f39..7abcfa1 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -17,7 +17,7 @@ "strictFunctionTypes": true, "strictNullChecks": true, "skipLibCheck": true, - "isolatedModules": true, + "isolatedModules": true }, "include": [ "./src/**/*.ts",