MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / counter

Function counter

packages/react/src/plugins/oauth-reconnect.test.ts:235–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233
234describe("retryReconnectClientsOnMenuOpen (recovery for a failed summaries query)", () => {
235 const counter = () => {
236 let calls = 0;
237 return { retry: () => calls++, calls: () => calls };
238 };
239
240 it("refetches when the menu OPENS on a failed view", () => {
241 const spy = counter();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected