refactor
This commit is contained in:
parent
d0ea6e9eec
commit
2967f1a5af
31 changed files with 469 additions and 165 deletions
|
|
@ -27,5 +27,11 @@
|
|||
"types": ["vitest/globals", "@testing-library/jest-dom"],
|
||||
"paths": { "@/*": ["./src/*"] }
|
||||
},
|
||||
"include": ["src"]
|
||||
// The production build must not compile test files. One test imports the shipped
|
||||
// SDK source across packages (`sdk/src/*.js`) to drive the real custom elements; that
|
||||
// coupling belongs to the test project (tsconfig.test.json), not to the app image
|
||||
// build, where the SDK may not even be on disk yet. `tsc -p tsconfig.app.json` is what
|
||||
// the Dockerfile runs, so tests are simply out of this project's file set.
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/test"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue