- Add exclude: ['e2e/**', 'node_modules/**'] to vitest.config.ts test block to prevent Playwright specs from being picked up by Vitest jsdom runner - Add tsconfig.e2e.json extending main tsconfig with node types for playwright.config.ts and e2e/**/* typecheck coverage - Add @types/node to pwa devDependencies (required by playwright.config.ts) - Update typecheck script to run both src and e2e tsc passes - 191 unit tests still pass; no e2e import errors in vitest run
10 lines
190 B
JSON
10 lines
190 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"types": ["node"],
|
|
"lib": ["ES2023"]
|
|
},
|
|
"include": ["playwright.config.ts", "e2e/**/*"],
|
|
"exclude": ["node_modules"]
|
|
}
|