MockStorage Class
Mock implementation of IChannelStorageService based on ITree input.
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 MockStorage implements IChannelStorageService
Implements: IChannelStorageService
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(tree) | Alpha |
Constructs a new instance of the MockStorage class |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
tree | Alpha |
optional |
ITree | undefined |
Constructor Details
(constructor)
Constructs a new instance of the MockStorage
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(tree?: ITree | undefined);
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
tree | optional | ITree | undefined |
Property Details
tree
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
protected tree?: ITree | undefined;
Type: ITree | undefined