mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-07 23:15:50 +00:00
Merge branch 'livekit' into toger5/tiles_based_on_rtc_member
This commit is contained in:
@@ -46,7 +46,7 @@ const membership: Record<string, string> = {
|
||||
};
|
||||
|
||||
const TestComponent: FC = () => {
|
||||
const { raisedHands, myReactionId } = useReactions();
|
||||
const { raisedHands } = useReactions();
|
||||
return (
|
||||
<div>
|
||||
<ul>
|
||||
@@ -57,7 +57,6 @@ const TestComponent: FC = () => {
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
<p>{myReactionId ? "Local reaction" : "No local reaction"}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -175,15 +174,6 @@ describe("useReactions", () => {
|
||||
);
|
||||
expect(queryByRole("list")?.children).to.have.lengthOf(0);
|
||||
});
|
||||
test("handles own raised hand", async () => {
|
||||
const room = new MockRoom();
|
||||
const rtcSession = new MockRTCSession(room);
|
||||
const { queryByText } = render(
|
||||
<TestComponentWrapper rtcSession={rtcSession} />,
|
||||
);
|
||||
await act(() => room.testSendReaction(memberEventAlice));
|
||||
expect(queryByText("Local reaction")).toBeTruthy();
|
||||
});
|
||||
test("handles incoming raised hand", async () => {
|
||||
const room = new MockRoom();
|
||||
const rtcSession = new MockRTCSession(room);
|
||||
|
||||
Reference in New Issue
Block a user