diff --git a/frontend/cypress/tsconfig.json b/frontend/cypress/tsconfig.json index b72f233542..b7369dea02 100644 --- a/frontend/cypress/tsconfig.json +++ b/frontend/cypress/tsconfig.json @@ -4,9 +4,6 @@ "lib": ["es5", "dom"], "compilerOptions": { "noEmit": true, - // be explicit about types included - // to avoid clashing with Jest types - "types": ["cypress", "@testing-library/cypress", "node"], "isolatedModules": false }, "include": ["../node_modules/cypress", "./**/*.ts"] diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 1ac93ea555..b3a8e344d7 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -19,7 +19,8 @@ "noEmit": true, "baseUrl": "./src", "downlevelIteration": true, - "plugins": [{ "name": "typescript-plugin-css-modules" }] + "plugins": [{ "name": "typescript-plugin-css-modules" }], + "types": ["cypress", "@testing-library/cypress", "node"] }, "exclude": ["node_modules"], "include": [