evdboom_Bindery/vscode-ext/vitest.config.ts
copilot-swe-agent[bot] c0495dc917
feat: extract bindery-core, refactor vscode-ext/mcp-ts to use @bindery/core
Agent-Logs-Url: https://github.com/evdboom/Bindery/sessions/09d0d68f-9f9f-41c5-a6bf-5dc0fc2ac79b

Co-authored-by: evdboom <18037882+evdboom@users.noreply.github.com>
2026-04-27 23:09:03 +00:00

24 lines
916 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['test/**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'text-summary', 'lcov', 'html'],
reportsDirectory: './coverage',
include: ['src/**/*.ts'],
exclude: [
'src/extension.ts', // thin VS Code activation layer; exercised via integration-commands mocks
'src/ai-setup.ts', // thin wrapper around @bindery/core setupAiFiles; covered by mcp-ts tests
'src/mcp.ts', // vscode.lm.registerTool wiring; activation-only, not reachable in unit tests
],
thresholds: {
statements: 80,
branches: 65,
functions: 90,
lines: 80,
},
},
},
});