mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 10:50:44 +00:00
* 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
15 lines
647 B
TypeScript
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);
|
|
});
|
|
});
|