Skip to main content

core.mockasyncclientstorage

Home > @medplum/core > MockAsyncClientStorage

MockAsyncClientStorage class

The MockAsyncClientStorage class is a mock implementation of the ClientStorage class. This can be used for testing async initialization of the MedplumClient.

Signature:

export declare class MockAsyncClientStorage extends ClientStorage implements IClientStorage 

Extends: ClientStorage

Implements: IClientStorage

Constructors

ConstructorModifiersDescription
(constructor)()Constructs a new instance of the MockAsyncClientStorage class

Properties

PropertyModifiersTypeDescription
isInitializedreadonlyboolean

Methods

MethodModifiersDescription
getInitPromise()
setInitialized()