Circle V2 API Docs
    Preparing search index...

    Function stubValtrixFetch

    • In-memory stand-in for the Valtrix rows API: applies the SDK's column=op.value filters, limit, and an offset cursor to the given tables so adapter tests run against the real client.

      Parameters

      Returns {
          fetchStub: {
              (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
              (input: string | URL | Request, init?: RequestInit): Promise<Response>;
          };
          requests: { headers: Headers; url: URL }[];
      }

      • fetchStub: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        }
      • requests: { headers: Headers; url: URL }[]