986ac19863
Two-track LLM smoke (G-018): Track A (mock-path) P0 gate passes deterministically; Track B (real-path) optional/allow-failure. llm-mock hardened (G-019 regex set). Settings→Adapters UI + Test-Call UI with SSE consumer, staleness, closed-tool-set gap docs (G-014). CI pipeline (.gitea/workflows/ci.yml, G-011) with Postgres 16 service container + setup-ci-roles.sql (G-022). Import guard (R-008). Tests: 618 green + 38 conformance + 5 pen test. Coverage: 97% llm-mock, 92.3% mcp. M1 non-regression: all M1 tests pass. ---ci--- phase: 5 milestone: v0.2 status: complete wave: J phase_role: execution ---/ci---
17 lines
522 B
TypeScript
17 lines
522 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
// Vitest config for the CI-only mock LLM provider. server.ts spawns a real
|
|
// HTTP server on an OS-assigned port (port 0) so the HTTP tests don't need
|
|
// a fixed port; the conformance harness waits for /healthz before the smoke.
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
include: ["tests/**/*.test.ts"],
|
|
testTimeout: 30000,
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/**/*.ts"],
|
|
reporter: ["text", "json"],
|
|
},
|
|
},
|
|
}); |