Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmNudge/watlings
/ throws
Function
throws
tests/utils/test-runner.mjs:121–128 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
119
120
/** @param {() => any} fn */
121
export
function
throws(fn) {
122
try {
123
fn();
124
return
false;
125
} catch (e) {
126
return
true;
127
}
128
}
Callers
1
patch.test.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected