rest-vir - v2.2.0
    Preparing search index...

    Type Alias FetchTestEndpoint<Api>

    FetchTestEndpoint: <
        const Endpoint extends
            EndpointDefinition & { path: keyof Api["definition"]["endpoints"] },
        const Method extends EndpointDefinitionMethods<NoInfer<Endpoint>>,
    >(
        endpoint: Endpoint,
        method: Method,
        ...args: EndpointFetchParams<NoInfer<Endpoint>, NoInfer<Method>>,
    ) => Promise<Response>

    Used for each individual endpoint's fetcher in ApiTestSuite.

    Type Parameters

    Type Declaration