@fluidframework/test-utils Package
Interfaces
| Interface | Alerts | Description |
|---|---|---|
| IOpProcessingController | Legacy |
Exposes fine-grained control over the Container's inbound and outbound op queues |
| IProvideTestFluidObject | Legacy |
|
| ITestFluidObject | Legacy |
Classes
| Class | Alerts | Description |
|---|---|---|
| LoaderContainerTracker | Legacy |
Functions
| Function | Alerts | Return Type | Description |
|---|---|---|---|
| createAndAttachContainer(source, loader, attachRequest) | Legacy |
Promise<IContainer> | Creates a detached Container and attaches it. |
Function Details
createAndAttachContainer
Creates a detached Container and attaches it.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/test-utils/legacy.
For more information about our API support guarantees, see here.
Signature
export declare function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| source | IFluidCodeDetails | The code details used to create the Container. |
| loader | IHostLoader | The loader to use to initialize the container. |
| attachRequest | IRequest | The request to create new from. |
Returns
Return type: Promise<IContainer>