MCPcopy 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. */
192export function createMockNext(): () => Promise<void> {
193 return async function next() {};
194}

Callers 3

fnFunction · 0.90
setupFunction · 0.90
fnFunction · 0.90

Calls

no outgoing calls

Tested by 3

fnFunction · 0.72
setupFunction · 0.72
fnFunction · 0.72