diff --git a/packages/service-clients/end-to-end-tests/azure-client/src/test/tree.spec.ts b/packages/service-clients/end-to-end-tests/azure-client/src/test/tree.spec.ts index 6444a0dae98e..6b2ca05af57b 100644 --- a/packages/service-clients/end-to-end-tests/azure-client/src/test/tree.spec.ts +++ b/packages/service-clients/end-to-end-tests/azure-client/src/test/tree.spec.ts @@ -10,7 +10,7 @@ import { ConnectionState } from "@fluidframework/container-loader"; import { ContainerSchema, type IFluidContainer } from "@fluidframework/fluid-static"; import { timeoutPromise } from "@fluidframework/test-utils/internal"; import { TreeViewConfiguration, SchemaFactory, type TreeView } from "@fluidframework/tree"; -import { SharedTree, Tree, TreeStatus, type Revertible } from "@fluidframework/tree/internal"; +import { asTreeViewAlpha, SharedTree, Tree, TreeStatus, type Revertible } from "@fluidframework/tree/internal"; import type { AxiosResponse } from "axios"; import { @@ -214,9 +214,9 @@ for (const testOpts of testMatrix) { it("can handle undo/redo and transactions", async () => { const { container } = await client.createContainer(schema, "2"); await container.attach(); - const view = container.initialObjects.tree1.viewWith( + const view = asTreeViewAlpha(container.initialObjects.tree1.viewWith( new TreeViewConfiguration({ schema: User, enableSchemaValidation: true }), - ); + )); view.initialize( new User({