Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/oakserver/oak
/ createMockNext
Function
createMockNext
testing.ts:192–194 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
190
/** Creates a mock `next()`
function
which can be used when calling
191
* middleware. */
192
export
function
createMockNext(): () => Promise<void> {
193
return
async
function
next() {};
194
}
Callers
3
fn
Function · 0.90
setup
Function · 0.90
fn
Function · 0.90
Calls
no outgoing calls
Tested by
3
fn
Function · 0.72
setup
Function · 0.72
fn
Function · 0.72