Skip to content

Commit

Permalink
Update test assertions
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy committed Sep 25, 2024
1 parent dd7479a commit 9e4348e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/components/views/settings/CryptographyPanel-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit 9e4348e

Please sign in to comment.