element-web-Github/test/components/views/rooms/__snapshots__/ThirdPartyMemberInfo-test.tsx.snap
Suguru Hirahara 0c30f0c838
Simplify nodes on ThirdPartyMemberInfo (#10889)
* Remove mx_MemberInfo_profileField

* Merge mx_MemberInfo_profile with mx_MemberInfo_container

* Remove redundant div elements

* Update a Jest snapshot
2023-05-24 08:28:15 +00:00

58 lines
1.1 KiB
Plaintext

// 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 mx_MemberInfo_container--profile"
>
Invited by Alice DisplayName
</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 mx_MemberInfo_container--profile"
>
Invited by Alice DisplayName
</div>
</div>
</div>
`;