Files
openclaw/src/proxy-capture/coverage.test.ts
Tak Hoffman 958c34e82c feat(qa-lab): Add proxy capture stack and QA Lab inspector (#64895)
* Add proxy capture core and CLI

* Expand transport capture coverage

* Add QA Lab capture backend

* Refine QA Lab capture UI

* Fix proxy capture review feedback

* Fix proxy run cleanup and TTS capture

* Fix proxy capture transport follow-ups

* Fix debug proxy CONNECT target parsing

* Harden QA Lab asset path containment
2026-04-11 12:34:57 -05:00

15 lines
647 B
TypeScript

import { describe, expect, it } from "vitest";
import { buildDebugProxyCoverageReport } from "./coverage.js";
describe("debug proxy coverage report", () => {
it("summarizes captured and partial transport seams", () => {
const report = buildDebugProxyCoverageReport();
expect(report.summary.total).toBe(report.entries.length);
expect(report.summary.captured).toBeGreaterThan(0);
expect(report.summary.proxyOnly).toBeGreaterThan(0);
expect(report.entries.some((entry) => entry.id === "provider-transport-fetch")).toBe(true);
expect(report.entries.some((entry) => entry.id === "feishu-client-http")).toBe(true);
});
});