MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeResponse

Function makeResponse

packages/effect/test/unstable/http/HttpServerError.test.ts:19–19  ·  view source on GitHub ↗
(status: number)

Source from the content-addressed store, hash-verified

17
18const makeRequest = (method: string, url: string) => HttpServerRequest.fromWeb(new Request(url, { method }))
19const makeResponse = (status: number) => HttpServerResponse.empty({ status })
20
21describe("HttpServerError", () => {
22 describe("reason messages", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected