diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index a0d1e977..34686e4b 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -74,7 +74,16 @@ export default defineConfig({ 'src/lib/document/**', 'src/hooks.server.ts' ], - exclude: ['**/*.svelte', '**/*.svelte.ts', '**/__mocks__/**'], + exclude: [ + '**/*.svelte', + '**/*.svelte.ts', + '**/__mocks__/**', + // Tiptap NodeView — builds live ProseMirror DOM and only runs inside + // the browser editor, so it is exercised by the client project's + // browser tests, not this node server-coverage run. Browser-only UI + // .ts file, excluded like the actions/hooks this config measures around. + 'src/lib/shared/discussion/mentionNodeView.ts' + ], thresholds: { lines: 80, functions: 80,