refactor
Some checks failed
Build, test, publish, deploy / build-test (push) Has been cancelled
Build, test, publish, deploy / publish (push) Has been cancelled
Build, test, publish, deploy / deploy-prd (push) Has been cancelled

This commit is contained in:
Daniel Noulet 2026-10-10 02:30:24 +02:00
parent 2967f1a5af
commit 618b700feb
6 changed files with 738 additions and 0 deletions

16
web/tsconfig.test.json Normal file
View 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"]
}