Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ export default defineConfig({
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: ['node_modules/', 'tests/', 'examples/', '*.config.js', 'docs/'],
// Vitest 5 resolves coverage excludes as globs; bare `tests/` no longer matches.
exclude: [
'**/node_modules/**',
'**/tests/**',
'**/examples/**',
'**/*.config.js',
'**/docs/**',
],
// Minimum coverage thresholds. Set to just under the current measured
// coverage of cd48.js (the gap is mostly auto-reconnect / advanced-measure
// branches). Raise these as the corresponding unit tests are added.
Expand Down
Loading