Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/7836246/cursor2api
/ assert
Function
assert
test/unit-proxy-agent.mjs:31–33 ·
view source on GitHub ↗
(condition, msg)
Source
from the content-addressed store, hash-verified
29
}
30
31
function
assert(condition, msg) {
32
if
(!condition) throw
new
Error(msg ||
'Assertion failed'
);
33
}
34
35
function
assertEqual(a, b, msg) {
36
const
as = JSON.stringify(a), bs = JSON.stringify(b);
Callers
1
unit-proxy-agent.mjs
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected