Skip to content

Documentation / @warp-drive/holodeck / installAdapterFor

Function: installAdapterFor()

ts
function installAdapterFor(owner, store): void;

Defined in: index.ts:312

Creates an adapterFor function that wraps the provided adapterFor function to override the adapter's _fetchRequest method to route requests through the Holodeck mock server.

Parameters

owner

object

The test context object used to retrieve the test ID.

store

default

Returns

void

Released under the MIT License.