Skip to content

Commit

Permalink
fix: Missing *.spec.tsx pattern in multiple tsconfig.spec.json files (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
emil-litwiniec authored May 17, 2024
1 parent e3ca28d commit 9dfcd51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/webapp-libs/webapp-contentful/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions packages/webapp-libs/webapp-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"types": ["@testing-library/jest-dom"],
"noFallthroughCasesInSwitch": true,
"jsx": "react-jsx"
"noFallthroughCasesInSwitch": true
},
"files": [],
"include": [],
Expand Down
5 changes: 3 additions & 2 deletions packages/webapp-libs/webapp-core/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
2 changes: 1 addition & 1 deletion packages/webapp-libs/webapp-emails/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}

0 comments on commit 9dfcd51

Please sign in to comment.