Update test assertions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28192/head
parent
dd7479accb
commit
9e4348e8f1
|
@ -37,7 +37,7 @@ describe("CryptographyPanel", () => {
|
||||||
expect(codes[0].innerHTML).toEqual(sessionId);
|
expect(codes[0].innerHTML).toEqual(sessionId);
|
||||||
|
|
||||||
// Initially a placeholder
|
// Initially a placeholder
|
||||||
expect(codes[1].innerHTML).toEqual("<b>...</b>");
|
expect(codes[1].innerHTML).toEqual("<strong>...</strong>");
|
||||||
|
|
||||||
// Then the actual key
|
// Then the actual key
|
||||||
await flushPromises();
|
await flushPromises();
|
||||||
|
@ -60,7 +60,7 @@ describe("CryptographyPanel", () => {
|
||||||
const codes = rendered.container.querySelectorAll("code");
|
const codes = rendered.container.querySelectorAll("code");
|
||||||
|
|
||||||
// Initially a placeholder
|
// Initially a placeholder
|
||||||
expect(codes[1].innerHTML).toEqual("<b>...</b>");
|
expect(codes[1].innerHTML).toEqual("<strong>...</strong>");
|
||||||
|
|
||||||
// Then "not supported key
|
// Then "not supported key
|
||||||
await flushPromises();
|
await flushPromises();
|
||||||
|
|
Loading…
Reference in New Issue