Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2727322

Browse files
committed
fix tests
Signed-off-by: Timo K <toger5@hotmail.de>
1 parent d40c057 commit 2727322

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/components/views/rooms/LegacyRoomHeader-test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ describe("LegacyRoomHeader", () => {
347347
placeCallSpy.mockClear();
348348
fireEvent.click(screen.getByRole("button", { name: "Video call" }));
349349
await act(() => Promise.resolve()); // Allow effects to settle
350+
fireEvent.click(screen.getByRole("menuitem", { name: "Legacy video call" }));
351+
await act(() => Promise.resolve()); // Allow effects to settle
350352
expect(placeCallSpy).toHaveBeenCalledWith(room.roomId, CallType.Video);
351353
},
352354
);

0 commit comments

Comments
 (0)