diff --git a/packages/webapp-libs/webapp-contentful/tsconfig.spec.json b/packages/webapp-libs/webapp-contentful/tsconfig.spec.json index 3bc25e0a4..d681ae05b 100644 --- a/packages/webapp-libs/webapp-contentful/tsconfig.spec.json +++ b/packages/webapp-libs/webapp-contentful/tsconfig.spec.json @@ -11,6 +11,7 @@ "jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", + "src/**/*.spec.tsx", "src/**/*.d.ts", "src/tests/**/*.ts", "src/tests/**/*.tsx" diff --git a/packages/webapp-libs/webapp-core/tsconfig.json b/packages/webapp-libs/webapp-core/tsconfig.json index 08045a3b6..8122543a9 100644 --- a/packages/webapp-libs/webapp-core/tsconfig.json +++ b/packages/webapp-libs/webapp-core/tsconfig.json @@ -7,9 +7,7 @@ "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, - "types": ["@testing-library/jest-dom"], - "noFallthroughCasesInSwitch": true, - "jsx": "react-jsx" + "noFallthroughCasesInSwitch": true }, "files": [], "include": [], diff --git a/packages/webapp-libs/webapp-core/tsconfig.spec.json b/packages/webapp-libs/webapp-core/tsconfig.spec.json index 911982d5b..e4494aac1 100644 --- a/packages/webapp-libs/webapp-core/tsconfig.spec.json +++ b/packages/webapp-libs/webapp-core/tsconfig.spec.json @@ -4,7 +4,8 @@ "outDir": "../../../dist/out-tsc", "module": "commonjs", "types": ["jest", "node", "@types/gtag.js"], - "esModuleInterop": true + "esModuleInterop": true, + "jsx": "react-jsx" }, - "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] + "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.tsx", "src/**/*.spec.ts", "src/**/*.d.ts"] } diff --git a/packages/webapp-libs/webapp-emails/tsconfig.spec.json b/packages/webapp-libs/webapp-emails/tsconfig.spec.json index 0b401fc0c..640e830ad 100644 --- a/packages/webapp-libs/webapp-emails/tsconfig.spec.json +++ b/packages/webapp-libs/webapp-emails/tsconfig.spec.json @@ -7,5 +7,5 @@ "esModuleInterop": true, "jsx": "react-jsx" }, - "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] + "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.tsx", "src/**/*.spec.ts", "src/**/*.d.ts"] }