Interface OfflineRegionStoreConformanceOptions

interface OfflineRegionStoreConformanceOptions {
    createStore: (() => OfflineRegionStore | Promise<OfflineRegionStore>);
    disposeStore?: ((store: OfflineRegionStore) => void | Promise<void>);
    label?: string;
    only?: readonly string[];
}

Properties

createStore: (() => OfflineRegionStore | Promise<OfflineRegionStore>)

Must return a store with no committed regions. Called once per case.

disposeStore?: ((store: OfflineRegionStore) => void | Promise<void>)

Optional teardown for the store a case finished with.

label?: string

Human label recorded on the report (for example indexeddb).

only?: readonly string[]

Run a subset by name. Unknown names fail the report rather than passing silently.