Skip to main content

MockObjectStorageService Class

Mock implementation of IChannelStorageService

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/test-runtime-utils/legacy.

For more information about our API support guarantees, see here.

Signature

export declare class MockObjectStorageService implements IChannelStorageService

Implements: IChannelStorageService

Constructors

Constructor Alerts Description
(constructor)(contents) Alpha Constructs a new instance of the MockObjectStorageService class

Constructor Details

(constructor)

Constructs a new instance of the MockObjectStorageService class

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

constructor(contents: {
[key: string]: string;
});

Parameters

Parameter Type Description
contents { [key: string]: string; }