From b4a126d46663f5f6eec09f07f3aea1179c50df4f Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Tue, 5 Nov 2024 19:10:12 +0000 Subject: [PATCH] final lint? --- src/room/ReactionAudioRenderer.test.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/room/ReactionAudioRenderer.test.tsx b/src/room/ReactionAudioRenderer.test.tsx index 3f348130..bce42a02 100644 --- a/src/room/ReactionAudioRenderer.test.tsx +++ b/src/room/ReactionAudioRenderer.test.tsx @@ -8,6 +8,7 @@ Please see LICENSE in the repository root for full details. import { act, render } from "@testing-library/react"; import { expect, test } from "vitest"; import { TooltipProvider } from "@vector-im/compound-web"; +import { ReactNode } from "react"; import { MockRoom, @@ -16,7 +17,6 @@ import { } from "../utils/testReactions"; import { ReactionsAudioRenderer } from "./ReactionAudioRenderer"; import { ReactionSet } from "../reactions"; -import { ReactNode } from "react"; const memberUserIdAlice = "@alice:example.org"; const memberUserIdBob = "@bob:example.org"; @@ -66,9 +66,9 @@ test("will play an audio sound when there is a reaction", () => { "No reactions have sounds configured, this test cannot succeed", ); } - act(() => - room.testSendReaction(memberEventAlice, chosenReaction, membership), - ); + act(() => { + room.testSendReaction(memberEventAlice, chosenReaction, membership); + }); const elements = container.getElementsByTagName("audio"); expect(elements).toHaveLength(1); const audioElement = elements[0];