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

Function assertEqual

test/unit-openai-compat.mjs:32–35  ·  view source on GitHub ↗
(a, b, msg)

Source from the content-addressed store, hash-verified

30}
31
32function assertEqual(a, b, msg) {
33 const as = JSON.stringify(a), bs = JSON.stringify(b);
34 if (as !== bs) throw new Error(msg || `Expected ${bs}, got ${as}`);
35}
36
37function stringifyUnknownContent(value) {
38 if (value === null || value === undefined) return '';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected