From 1d685bc44e6995185ec8c784185c2818bae3c1aa Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Tue, 12 Nov 2024 17:10:26 +0000 Subject: [PATCH] Fix tests --- src/useReactions.test.tsx | 16 ++++++++-------- src/useReactions.tsx | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/useReactions.test.tsx b/src/useReactions.test.tsx index 6140793f..3fb43247 100644 --- a/src/useReactions.test.tsx +++ b/src/useReactions.test.tsx @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only Please see LICENSE in the repository root for full details. */ -import { render } from "@testing-library/react"; +import { findByRole, getByRole, render } from "@testing-library/react"; import { act, FC } from "react"; import { describe, expect, test } from "vitest"; import { RoomEvent } from "matrix-js-sdk/src/matrix"; @@ -43,7 +43,7 @@ const TestComponent: FC = () => {