MockFluidDataStoreRuntime Class
Mock implementation of IRuntime for testing that does nothing
Signature
export declare class MockFluidDataStoreRuntime extends EventEmitter implements IFluidDataStoreRuntime, IFluidDataStoreChannel, IFluidHandleContext
Extends: EventEmitter
Implements: IFluidDataStoreRuntime, IFluidDataStoreChannel, IFluidHandleContext
Properties
| Property | Type | Description |
|---|---|---|
| absolutePath | string | |
| attachState | AttachState | |
| channelsRoutingContext | IFluidHandleContext | |
| clientId | string | undefined | |
| connected | ||
| deltaManager | MockDeltaManager | |
| disposed | boolean | |
| documentId | string | |
| existing | boolean | |
| id | string | |
| IFluidHandleContext | IFluidHandleContext | |
| IFluidRouter | this | |
| isAttached | boolean | |
| loader | ILoader | |
| local | boolean | |
| logger | ITelemetryLogger | |
| objectsRoutingContext | IFluidHandleContext | |
| options | ILoaderOptions | |
| path | ||
| quorum | MockQuorumClients | |
| rootRoutingContext | IFluidHandleContext |
Methods
Property Details
absolutePath
Signature
get absolutePath(): string;
Type: string
attachState
Signature
get attachState(): AttachState;
Type: AttachState
channelsRoutingContext
Signature
get channelsRoutingContext(): IFluidHandleContext;
Type: IFluidHandleContext
clientId
Signature
clientId: string | undefined;
Type: string | undefined
connected
Signature
readonly connected = true;
deltaManager
Signature
deltaManager: MockDeltaManager;
Type: MockDeltaManager
disposed
Signature
get disposed(): boolean;
Type: boolean
documentId
Signature
readonly documentId: string;
Type: string
existing
Signature
readonly existing: boolean;
Type: boolean
id
Signature
readonly id: string;
Type: string
IFluidHandleContext
Signature
get IFluidHandleContext(): IFluidHandleContext;
Type: IFluidHandleContext
IFluidRouter
Signature
get IFluidRouter(): this;
Type: this
isAttached
Signature
get isAttached(): boolean;
Type: boolean