Skip to content

Commit 25c1db5

Browse files
committed
test(new room list): update room list tests
1 parent 5816067 commit 25c1db5

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

test/unit-tests/components/views/rooms/RoomListView/__snapshots__/RoomListView-test.tsx.snap

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ exports[`<RoomListView /> should not render the RoomListSearch component when UI
1212
data-testid="room-list-header"
1313
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: space-between; --mx-flex-gap: 0;"
1414
>
15-
<h1>
16-
Home
17-
</h1>
15+
<div
16+
class="mx_Flex"
17+
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x);"
18+
>
19+
<h1>
20+
Home
21+
</h1>
22+
</div>
1823
</header>
1924
</section>
2025
</DocumentFragment>
@@ -88,9 +93,14 @@ exports[`<RoomListView /> should render the RoomListSearch component when UIComp
8893
data-testid="room-list-header"
8994
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: space-between; --mx-flex-gap: 0;"
9095
>
91-
<h1>
92-
Home
93-
</h1>
96+
<div
97+
class="mx_Flex"
98+
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x);"
99+
>
100+
<h1>
101+
Home
102+
</h1>
103+
</div>
94104
<button
95105
aria-disabled="false"
96106
aria-expanded="false"

0 commit comments

Comments
 (0)