chore: coverage report via npm run test:coverage
@vitest/coverage-v8 with include over src/ so untested files show up at 0%; text summary plus the browsable coverage/ HTML (gitignored).
This commit is contained in:
1 parent
47bbbfc7dd
commit
82993aeda3
5 files changed
+276
-44
No files matched your search
@@ -25,5 +25,10 @@ export default defineConfig({
|
||||
// A build+re-import leg runs ~10s when the whole suite competes for the CPU,
|
||||
// well past vitest's 5s default.
|
||||
testTimeout: 60000,
|
||||
// `npm run test:coverage` — untested src files appear at 0%, which is the point.
|
||||
coverage: {
|
||||
include: ['src/**/*.ts', 'src/**/*.svelte'],
|
||||
reporter: ['text-summary', 'html'],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user