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

Constructor

Modifiers

Description

(constructor)()

Constructs a new instance of the MockAsyncClientStorage class

Properties

Property

Modifiers

Type

Description

isInitialized

readonly

boolean

Methods

Method

Modifiers

Description

getInitPromise()

setInitialized()