From 9e4348e8f1b4bed5b129c2bc9ecad2c3a3442849 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 25 Sep 2024 17:27:42 +0100 Subject: [PATCH] Update test assertions Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/components/views/settings/CryptographyPanel-test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/components/views/settings/CryptographyPanel-test.tsx b/test/components/views/settings/CryptographyPanel-test.tsx index ed8b4dc26c..caaf813cdb 100644 --- a/test/components/views/settings/CryptographyPanel-test.tsx +++ b/test/components/views/settings/CryptographyPanel-test.tsx @@ -37,7 +37,7 @@ describe("CryptographyPanel", () => { expect(codes[0].innerHTML).toEqual(sessionId); // Initially a placeholder - expect(codes[1].innerHTML).toEqual("..."); + expect(codes[1].innerHTML).toEqual("..."); // Then the actual key await flushPromises(); @@ -60,7 +60,7 @@ describe("CryptographyPanel", () => { const codes = rendered.container.querySelectorAll("code"); // Initially a placeholder - expect(codes[1].innerHTML).toEqual("..."); + expect(codes[1].innerHTML).toEqual("..."); // Then "not supported key await flushPromises();