We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa8b34 commit d38eb4fCopy full SHA for d38eb4f
1 file changed
apps/web/test/viewmodels/room/WidgetPip-test.ts
@@ -7,6 +7,7 @@
7
8
import { type MatrixClient, type Room, RoomEvent } from "matrix-js-sdk/src/matrix";
9
import { type MockedObject } from "jest-mock";
10
+import { createRef } from "react";
11
12
import { mkRoom, stubClient } from "../../test-utils";
13
import { WidgetPipViewModel } from "../../../src/viewmodels/room/WidgetPipViewModel";
@@ -50,6 +51,8 @@ describe("WidgetPipViewModel", () => {
50
51
vm = new WidgetPipViewModel({
52
room,
53
widgetId,
54
+ onStartMoving: () => {},
55
+ movePersistedElement: createRef(),
56
});
57
58
0 commit comments