MCPcopy Create free account
hub / github.com/middleapi/orpc / handler.test.ts

File handler.test.ts

packages/server/src/adapters/node/handler.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { IncomingMessage, ServerResponse } from 'node:http'
2import { sendStandardResponse, toStandardLazyRequest } from '@orpc/standard-server-node'
3import request from 'supertest'
4import { NodeHttpHandler } from './handler'

Callers

nothing calls this directly

Calls 4

getMethod · 0.65
endMethod · 0.65
nextFunction · 0.50
handleMethod · 0.45

Tested by

no test coverage detected