Astrada TypeScript SDK
    Preparing search index...

    Interface MockFetch

    A fetch function that also records what it was asked.

    interface MockFetch {
        calls: MockRequest[];
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }
    • Parameters

      • input: string | Request | URL
      • Optionalinit: RequestInit

      Returns Promise<Response>

    Index
    calls: MockRequest[]

    Every request answered so far, the login included (operationId login).