refactor
This commit is contained in:
parent
2967f1a5af
commit
618b700feb
6 changed files with 738 additions and 0 deletions
16
web/tsconfig.test.json
Normal file
16
web/tsconfig.test.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"extends": "./tsconfig.app.json",
|
||||
"compilerOptions": {
|
||||
// Test files are excluded from tsconfig.app.json so the production image build
|
||||
// (which runs `tsc -p tsconfig.app.json`) never compiles them. This project covers
|
||||
// them instead, and it is the project that tolerates importing the shipped SDK
|
||||
// source directly — the real-controls integration test drives the actual custom
|
||||
// elements, which only typecheck against `sdk/src` (allowJs), not any published
|
||||
// types.
|
||||
"allowJs": true,
|
||||
"checkJs": false
|
||||
},
|
||||
// Clear the app project's test exclusions: here the tests ARE the point.
|
||||
"exclude": [],
|
||||
"include": ["src", "../sdk/src"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue