Skip to content

Commit 8044ce4

Browse files
committed
Fix tests
Signed-off-by: Michael Telatynski <[email protected]>
1 parent a6e98b0 commit 8044ce4

File tree

12 files changed

+32
-32
lines changed

12 files changed

+32
-32
lines changed

test/components/structures/__snapshots__/RoomView-test.tsx.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ exports[`RoomView for a local room in state ERROR should match the snapshot 1`]
370370
<p>
371371
<span>
372372
Send your first message to invite
373-
<b>
373+
<strong>
374374
@user:example.com
375-
</b>
375+
</strong>
376376
to chat
377377
</span>
378378
</p>
@@ -625,9 +625,9 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
625625
<p>
626626
<span>
627627
Send your first message to invite
628-
<b>
628+
<strong>
629629
@user:example.com
630-
</b>
630+
</strong>
631631
to chat
632632
</span>
633633
</p>
@@ -952,9 +952,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
952952
<p>
953953
<span>
954954
Send your first message to invite
955-
<b>
955+
<strong>
956956
@user:example.com
957-
</b>
957+
</strong>
958958
to chat
959959
</span>
960960
</p>

test/components/views/auth/__snapshots__/InteractiveAuthEntryComponents-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ exports[`<EmailIdentityAuthEntry/> should render 1`] = `
88
<p>
99
<span>
1010
To create your account, open the link in the email we just sent to
11-
<b>
11+
<strong>
1212
13-
</b>
13+
</strong>
1414
.
1515
</span>
1616
</p>

test/components/views/dialogs/__snapshots__/ManageRestrictedJoinRuleDialog-test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ exports[`<ManageRestrictedJoinRuleDialog /> should list spaces which are not par
2626
<p>
2727
<span>
2828
Decide which spaces can access this room. If a space is selected, its members can find and join
29-
<b>
29+
<strong>
3030
!roomId:server
31-
</b>
31+
</strong>
3232
.
3333
</span>
3434
</p>
@@ -176,9 +176,9 @@ exports[`<ManageRestrictedJoinRuleDialog /> should render empty state 1`] = `
176176
<p>
177177
<span>
178178
Decide which spaces can access this room. If a space is selected, its members can find and join
179-
<b>
179+
<strong>
180180
!roomId:server
181-
</b>
181+
</strong>
182182
.
183183
</span>
184184
</p>

test/components/views/dialogs/__snapshots__/ManualDeviceKeyVerificationDialog-test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ exports[`ManualDeviceKeyVerificationDialog should display the device 1`] = `
6666
6767
<span>
6868
<code>
69-
<b>
69+
<strong>
7070
ABCD EFGH
71-
</b>
71+
</strong>
7272
</code>
7373
</span>
7474
</li>
@@ -181,9 +181,9 @@ exports[`ManualDeviceKeyVerificationDialog should display the device of another
181181
182182
<span>
183183
<code>
184-
<b>
184+
<strong>
185185
ABCD EFGH
186-
</b>
186+
</strong>
187187
</code>
188188
</span>
189189
</li>

test/components/views/settings/CryptographyPanel-test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("CryptographyPanel", () => {
1818
it("shows the session ID and key", () => {
1919
const sessionId = "ABCDEFGHIJ";
2020
const sessionKey = "AbCDeFghIJK7L/m4nOPqRSTUVW4xyzaBCDef6gHIJkl";
21-
const sessionKeyFormatted = "<b>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</b>";
21+
const sessionKeyFormatted = "<strong>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</strong>";
2222

2323
TestUtils.stubClient();
2424
const client: MatrixClient = MatrixClientPeg.safeGet();

test/components/views/settings/__snapshots__/SecureBackupPanel-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ exports[`<SecureBackupPanel /> suggests connecting session to key backup when ba
7979
>
8080
<span>
8181
This session is
82-
<b>
82+
<strong>
8383
not backing up your keys
84-
</b>
84+
</strong>
8585
, but you do have an existing backup you can restore from and add to going forward.
8686
</span>
8787
</div>

test/components/views/settings/__snapshots__/SetIntegrationManager-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ exports[`SetIntegrationManager should render manage integrations sections 1`] =
4141
>
4242
<span>
4343
Use an integration manager
44-
<b>
44+
<strong>
4545
(scalar.vector.im)
46-
</b>
46+
</strong>
4747
to manage bots, widgets, and sticker packs.
4848
</span>
4949
</div>

test/components/views/settings/devices/__snapshots__/LoginWithQRFlow-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,9 @@ exports[`<LoginWithQRFlow /> renders QR code 1`] = `
10671067
<li>
10681068
<span>
10691069
Select "
1070-
<b>
1070+
<strong>
10711071
Sign in with QR code
1072-
</b>
1072+
</strong>
10731073
"
10741074
</span>
10751075
</li>

test/components/views/settings/tabs/room/__snapshots__/SecurityRoomSettingsTab-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ exports[`<SecurityRoomSettingsTab /> join rule warns when trying to make an encr
178178
<p>
179179
180180
<span>
181-
<b>
181+
<strong>
182182
It's not recommended to make encrypted rooms public.
183-
</b>
183+
</strong>
184184
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.
185185
</span>
186186

test/components/views/settings/tabs/user/__snapshots__/SecurityUserSettingsTab-test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
4848
>
4949
<span>
5050
Use an integration manager
51-
<b>
51+
<strong>
5252
(scalar.vector.im)
53-
</b>
53+
</strong>
5454
to manage bots, widgets, and sticker packs.
5555
</span>
5656
</div>
@@ -332,9 +332,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
332332
</th>
333333
<td>
334334
<code>
335-
<b>
335+
<strong>
336336
&lt;not supported&gt;
337-
</b>
337+
</strong>
338338
</code>
339339
</td>
340340
</tr>

test/components/views/spaces/__snapshots__/SpaceSettingsVisibilityTab-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ exports[`<SpaceSettingsVisibilityTab /> renders container 1`] = `
143143
<p>
144144
Allow people to preview your space before they join.
145145
<br />
146-
<b>
146+
<strong>
147147
Recommended for public spaces.
148-
</b>
148+
</strong>
149149
</p>
150150
</div>
151151
</div>

test/utils/exportUtils/__snapshots__/HTMLExport-test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ exports[`HTMLExport should export 1`] = `
5858
<div class="mx_NewRoomIntro">
5959
<span role="presentation" title="!myroom:example.org" data-testid="avatar-img" data-type="round" data-color="1" class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61" style="--cpd-avatar-size:32px">!</span>
6060
<h2> !myroom:example.org </h2>
61-
<p> created this room. <br/><br/> <p><span>This is the start of export of <b>!myroom:example.org</b>. Exported by <a href="https://matrix.to/#/%40userId%3Amatrix.org" target="_blank" rel="noopener noreferrer"><b>@userId:matrix.org</b></a> at 11/17/2022.</span></p> </p>
61+
<p> created this room. <br/><br/> <p><span>This is the start of export of <strong>!myroom:example.org</strong>. Exported by <a href="https://matrix.to/#/%40userId%3Amatrix.org" target="_blank" rel="noopener noreferrer"><strong>@userId:matrix.org</strong></a> at 11/17/2022.</span></p> </p>
6262
<br/>
6363
<p> </p>
6464
</div>

0 commit comments

Comments
 (0)