element-web/test/components/views/rooms/__snapshots__/ThirdPartyMemberInfo-test.tsx.snap
Kerry 74d30187a4
Apply strictNullChecks to src/components/views/rooms/* (#10875)
* fix everything except notificationbadge

* unit test ThirdPartyMemberInfo

* fix RoomPreviewBar dm tests

* lint

* test PinnedEventTile
2023-05-21 23:53:23 +00:00

73 lines
1.3 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<ThirdPartyMemberInfo /> should render invite 1`] = `
<div>
<div
class="mx_MemberInfo"
role="tabpanel"
>
<div
class="mx_MemberInfo_name"
>
<div
class="mx_AccessibleButton mx_MemberInfo_cancel"
role="button"
tabindex="0"
title="Close"
/>
<h2>
bob@bob.com
</h2>
</div>
<div
class="mx_MemberInfo_container"
>
<div
class="mx_MemberInfo_profile"
>
<div
class="mx_MemberInfo_profileField"
>
Invited by Alice DisplayName
</div>
</div>
</div>
</div>
</div>
`;
exports[`<ThirdPartyMemberInfo /> should render invite when room in not available 1`] = `
<div>
<div
class="mx_MemberInfo"
role="tabpanel"
>
<div
class="mx_MemberInfo_name"
>
<div
class="mx_AccessibleButton mx_MemberInfo_cancel"
role="button"
tabindex="0"
title="Close"
/>
<h2>
bob@bob.com
</h2>
</div>
<div
class="mx_MemberInfo_container"
>
<div
class="mx_MemberInfo_profile"
>
<div
class="mx_MemberInfo_profileField"
>
Invited by Alice DisplayName
</div>
</div>
</div>
</div>
</div>
`;