element-web/test/components/views/dialogs/devtools/__snapshots__/RoomNotifications-test.tsx.snap
David Baker 3f7e21e08d
Fix display of room notification debug info (#12183)
* 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
2024-01-29 12:38:37 +00:00

72 lines
1.2 KiB
Text

// 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>
`;