@muspellheim/shared
    Preparing search index...

    Function createFetchStub

    • Create a fetch stub.

      The stub returns a response from the provided response data or throws an provided error.

      Parameters

      Returns () => Promise<Response>

      The fetch stub.