MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / makeErrorFetch

Function makeErrorFetch

packages/cli/src/cloud/download.test.ts:18–20  ·  view source on GitHub ↗
(status: number, statusText = "Not Found")

Source from the content-addressed store, hash-verified

16}
17
18function makeErrorFetch(status: number, statusText = "Not Found"): typeof fetch {
19 return (async () => new Response("nope", { status, statusText })) as unknown as typeof fetch;
20}
21
22describe("cloud/download", () => {
23 let dir: string;

Callers 1

download.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected