From 17418b3e8d34347c25cdba122ebdc9f222927141 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Tue, 15 Oct 2024 16:08:21 +0200 Subject: [PATCH] Fix `MatrixChat-test` --- test/components/structures/MatrixChat-test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/structures/MatrixChat-test.tsx b/test/components/structures/MatrixChat-test.tsx index 771ed1e131..4d1f78af97 100644 --- a/test/components/structures/MatrixChat-test.tsx +++ b/test/components/structures/MatrixChat-test.tsx @@ -1019,7 +1019,7 @@ describe("", () => { await getComponentAndLogin(true); - expect(loginClient.getCrypto()!.userHasCrossSigningKeys).not.toHaveBeenCalled(); + expect(screen.getByRole("heading", { name: "Welcome Ernie" })).toBeInTheDocument(); }); it("should go straight to logged in view when user does not have cross signing keys and server does not support cross signing", async () => {