mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Update test assertions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
dd7479accb
commit
9e4348e8f1
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user