Update test assertions

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28192/head
Michael Telatynski 2024-09-25 17:27:42 +01:00
parent dd7479accb
commit 9e4348e8f1
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ describe("CryptographyPanel", () => {
expect(codes[0].innerHTML).toEqual(sessionId);
// Initially a placeholder
expect(codes[1].innerHTML).toEqual("<b>...</b>");
expect(codes[1].innerHTML).toEqual("<strong>...</strong>");
// 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("<b>...</b>");
expect(codes[1].innerHTML).toEqual("<strong>...</strong>");
// Then "not supported key
await flushPromises();