Portfolio/tsconfig.vitest.json
Matthew L McPeak ccf5ebd6c9
Some checks failed
ci / build (push) Failing after 10s
ci / publish (push) Has been skipped
Inital Commit
2026-06-19 06:36:35 -04:00

21 lines
889 B
JSON

{
"extends": "./tsconfig.app.json",
// Override to include only test files and clear exclusions.
// .vue files must be explicitly included so vue-tsc enables .vue module
// resolution for this project (relying on transitive module resolution
// from test imports is unreliable in `vue-tsc --build`).
"include": ["src/**/__tests__/*", "env.d.ts", "global.d.ts", "src/**/*.vue"],
"exclude": [],
"compilerOptions": {
// Vitest runs in a different environment than the application code.
// Adjust lib and types accordingly.
"lib": ["dom", "es2015", "esnext"],
"types": ["node", "jsdom"],
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
// Specified here to keep it out of the root directory.
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo"
}
}