mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 01:48:43 +08:00
3f7e21e08d
* Fix display of room notification debug info * Add 'one' string because apprently it just displays nothing at all if that's missing, rather than erroring or falling back to use the 'other'. * Simplify and always display the count: it's debug info so it's best to be very explicit anyway, plus simpler code & one less string. * Update snapshot
73 lines
1.2 KiB
Plaintext
73 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<RoomNotifications /> should render 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_DevTools_content"
|
|
>
|
|
<section>
|
|
<h2>
|
|
Room status
|
|
</h2>
|
|
<ul>
|
|
<li>
|
|
<span>
|
|
Room unread status:
|
|
<strong>
|
|
None
|
|
</strong>
|
|
, count:
|
|
<strong>
|
|
0
|
|
</strong>
|
|
</span>
|
|
</li>
|
|
<li>
|
|
<span>
|
|
Notification state is
|
|
<strong />
|
|
</span>
|
|
</li>
|
|
<li>
|
|
<span>
|
|
Room is
|
|
<strong>
|
|
not encrypted 🚨
|
|
</strong>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section>
|
|
<h2>
|
|
Main timeline
|
|
</h2>
|
|
<ul>
|
|
<li>
|
|
Total: 0
|
|
</li>
|
|
<li>
|
|
Highlight: 0
|
|
</li>
|
|
<li>
|
|
Dot: false
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section>
|
|
<h2>
|
|
Threads timeline
|
|
</h2>
|
|
<ul />
|
|
</section>
|
|
</div>
|
|
<div
|
|
class="mx_Dialog_buttons"
|
|
>
|
|
<button>
|
|
Back
|
|
</button>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|