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

Function makeResponse

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected