This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add snapshot test to
UserInfo-test.tsx
- Loading branch information
1 parent
29aa12a
commit 1fee08d
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<DeviceItem /> with 1`] = ` | ||
<div> | ||
<div | ||
class="mx_AccessibleButton mx_UserInfo_device mx_UserInfo_device_unverified" | ||
role="button" | ||
tabindex="0" | ||
title="deviceId" | ||
> | ||
<div | ||
class="mx_E2EIcon mx_E2EIcon_normal" | ||
/> | ||
<div | ||
class="mx_UserInfo_device_name" | ||
> | ||
deviceId | ||
</div> | ||
<div | ||
class="mx_UserInfo_device_trusted" | ||
/> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`<DeviceItem /> with display name 1`] = ` | ||
<div> | ||
<div | ||
class="mx_AccessibleButton mx_UserInfo_device mx_UserInfo_device_unverified" | ||
role="button" | ||
tabindex="0" | ||
title="deviceId" | ||
> | ||
<div | ||
class="mx_E2EIcon mx_E2EIcon_normal" | ||
/> | ||
<div | ||
class="mx_UserInfo_device_name" | ||
> | ||
deviceName | ||
</div> | ||
<div | ||
class="mx_UserInfo_device_trusted" | ||
/> | ||
</div> | ||
</div> | ||
`; |