Files
fusion/packages/droid-cli/vitest.config.ts
Fusion 0ec5dfa3b1 feat(FN-2978): add droid-cli package with provider registration and model d
This merge introduces a new `packages/droid-cli` package that bridges AI agent execution as a subprocess, including process management, event streaming, tool mapping, MCP configuration, and thinking-mode support. It also adds the `DroidCliProviderCard` dashboard UI component with onboarding flows an

Fusion-Task-Id: FN-2978
2026-05-01 03:47:10 -07:00

26 lines
680 B
TypeScript

import { defineConfig } from "vitest/config";
import { resolve } from "node:path";
export default defineConfig({
test: {
globals: true,
setupFiles: [
"./src/__tests__/setup-test-isolation.ts",
resolve(__dirname, "../core/src/__test-utils__/vitest-setup.ts"),
],
globalSetup: [resolve(__dirname, "../core/src/__test-utils__/vitest-teardown.ts")],
coverage: {
provider: "v8",
reporter: ["text", "json-summary"],
include: ["src/**/*.ts", "index.ts"],
exclude: ["src/mcp-schema-server.cjs"],
thresholds: {
lines: 92,
functions: 92,
branches: 88,
statements: 92,
},
},
},
});