Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
jenn-le authored Nov 5, 2024
1 parent 0d65def commit 93ea64d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 93ea64d

Please sign in to comment.