MCPcopy Create free account
hub / github.com/middleapi/orpc / middleware-utils.test.ts

File middleware-utils.test.ts

packages/server/src/middleware-utils.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { addMiddleware, isStartWithMiddlewares, mergeMiddlewares } from './middleware-utils'
2
3const mid1 = vi.fn()
4const mid2 = vi.fn()

Callers

nothing calls this directly

Calls 3

isStartWithMiddlewaresFunction · 0.90
mergeMiddlewaresFunction · 0.90
addMiddlewareFunction · 0.90

Tested by

no test coverage detected