Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ assert
Function
assert
scripts/test-state-hygiene.js:51–53 ·
view source on GitHub ↗
(condition, message)
Source
from the content-addressed store, hash-verified
49
}
50
51
function
assert(condition, message) {
52
if
(!condition) throw
new
Error(message ||
'Assertion failed'
);
53
}
54
55
// -- Fixture builder ------------------------------------------------------------
56
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected