MCPcopy
hub / github.com/7836246/cursor2api / assertEqual

Function assertEqual

test/unit-proxy-agent.mjs:35–38  ·  view source on GitHub ↗
(a, b, msg)

Source from the content-addressed store, hash-verified

33}
34
35function assertEqual(a, b, msg) {
36 const as = JSON.stringify(a), bs = JSON.stringify(b);
37 if (as !== bs) throw new Error(msg || `Expected ${bs}, got ${as}`);
38}
39
40// ─── 内联 mock 实现(模拟 proxy-agent.ts 核心逻辑,不依赖 dist)──────
41

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected