MCPcopy Create free account
hub / github.com/cli/cli / reset

Function reset

evals/src/github.test.ts:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { EventsGitHub } from "./suites/events/github.js";
4
5const reset = () => Object.assign(new Error("read ECONNRESET"), { code: "ECONNRESET" });
6
7test("a connection reset on a GET is retried once and can recover", async () => {
8 let calls = 0;

Callers 1

github.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected