mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 20:20:44 +00:00
16 lines
611 B
TypeScript
16 lines
611 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.map((entry) => entry.id)).toEqual(
|
|
expect.arrayContaining(["provider-transport-fetch", "feishu-client-http"]),
|
|
);
|
|
});
|
|
});
|