@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    What the mock transport answers a request with.

    interface MockRoute {
        method?: string;
        path: string | RegExp;
        status?: number;
        headers?: Readonly<Record<string, string>>;
        body?: unknown;
        times?: number;
    }
    Index
    method?: string

    The HTTP method the route answers, compared without regard to case. Omitted, the route answers any method.

    path: string | RegExp

    The ESI path template as the spec writes it, such as /characters/{character_id}/wallet, where {name} stands for one path segment; a trailing slash is ignored. Or a regular expression tested against the whole URL, query string included.

    status?: number

    The HTTP status, 200 to 599. Default 200.

    headers?: Readonly<Record<string, string>>

    Response headers, such as x-pages or etag.

    body?: unknown

    The response body. An object, array, number or boolean is JSON-encoded and sent as application/json; a string is sent verbatim; omitted, the response has no body.

    times?: number

    How many matching requests the route answers before it is retired. Omitted, the route answers every matching request.