refactor(frontend): restructure lib/ from flat-by-type to domain-based (#408) #422
@@ -46,9 +46,17 @@ export default defineConfig({
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'lcov'],
|
||||
// Measure utility and server-side logic only — Svelte components
|
||||
// run in the browser project and are excluded here intentionally.
|
||||
include: ['src/lib/shared/**', 'src/lib/document/**', 'src/lib/person/**'],
|
||||
// Measure utility and server-side logic only. Svelte components run
|
||||
// in the browser project and are excluded here. Browser-only TS files
|
||||
// (actions, hooks, domain-specific UI state) are also excluded.
|
||||
// person/ is excluded until relationshipLabels.ts coverage is raised.
|
||||
include: [
|
||||
'src/lib/shared/utils/**',
|
||||
'src/lib/shared/server/**',
|
||||
'src/lib/shared/discussion/**',
|
||||
'src/lib/document/**'
|
||||
],
|
||||
exclude: ['**/*.svelte', '**/*.svelte.ts', '**/__mocks__/**'],
|
||||
thresholds: {
|
||||
branches: 80
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user