Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-09-13 12:34:15 +01:00
parent a6e98b0b63
commit 8044ce4c01
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
12 changed files with 32 additions and 32 deletions

View file

@ -18,7 +18,7 @@ describe("CryptographyPanel", () => {
it("shows the session ID and key", () => {
const sessionId = "ABCDEFGHIJ";
const sessionKey = "AbCDeFghIJK7L/m4nOPqRSTUVW4xyzaBCDef6gHIJkl";
const sessionKeyFormatted = "<b>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</b>";
const sessionKeyFormatted = "<strong>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</strong>";
TestUtils.stubClient();
const client: MatrixClient = MatrixClientPeg.safeGet();

View file

@ -79,9 +79,9 @@ exports[`<SecureBackupPanel /> suggests connecting session to key backup when ba
>
<span>
This session is
<b>
<strong>
not backing up your keys
</b>
</strong>
, but you do have an existing backup you can restore from and add to going forward.
</span>
</div>

View file

@ -41,9 +41,9 @@ exports[`SetIntegrationManager should render manage integrations sections 1`] =
>
<span>
Use an integration manager
<b>
<strong>
(scalar.vector.im)
</b>
</strong>
to manage bots, widgets, and sticker packs.
</span>
</div>

View file

@ -1067,9 +1067,9 @@ exports[`<LoginWithQRFlow /> renders QR code 1`] = `
<li>
<span>
Select "
<b>
<strong>
Sign in with QR code
</b>
</strong>
"
</span>
</li>

View file

@ -178,9 +178,9 @@ exports[`<SecurityRoomSettingsTab /> join rule warns when trying to make an encr
<p>
<span>
<b>
<strong>
It's not recommended to make encrypted rooms public.
</b>
</strong>
It will mean anyone can find and join the room, so anyone can read messages. You'll get none of the benefits of encryption. Encrypting messages in a public room will make receiving and sending messages slower.
</span>

View file

@ -48,9 +48,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
>
<span>
Use an integration manager
<b>
<strong>
(scalar.vector.im)
</b>
</strong>
to manage bots, widgets, and sticker packs.
</span>
</div>
@ -332,9 +332,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
</th>
<td>
<code>
<b>
<strong>
&lt;not supported&gt;
</b>
</strong>
</code>
</td>
</tr>