MCPcopy
hub / github.com/qawolf/cli / callCount

Function callCount

src/shell/platform/createPlatformClient.test.ts:41–43  ·  view source on GitHub ↗
(f: typeof fetch)

Source from the content-addressed store, hash-verified

39}
40
41function callCount(f: typeof fetch): number {
42 return (f as unknown as Mock<typeof fetch>).mock.calls.length;
43}
44
45describe("getIdentity", () => {
46 it("sends GET to /api/v0/identity with Bearer token and returns team on success", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected