vitest.harness.config.ts 435 B

123456789101112131415161718
  1. import { defineConfig } from "vitest/config";
  2. export default defineConfig({
  3. test: {
  4. globals: true,
  5. environment: "node",
  6. testTimeout: 30000,
  7. include: ["test/harness/**/*.test.ts"],
  8. coverage: {
  9. provider: "v8",
  10. all: true,
  11. include: ["src/harness/**/*.ts", "src/agent.ts", "src/agent-loop.ts"],
  12. exclude: ["src/**/*.d.ts"],
  13. reporter: ["text", "html", "lcov"],
  14. reportsDirectory: "coverage/harness",
  15. },
  16. },
  17. });