mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
Show EmptyRoomListView when low priority filter matches zero rooms (#30122)
* Implement empty section for low prio filter * Write test
This commit is contained in:
@@ -54,6 +54,7 @@ describe("<EmptyRoomList />", () => {
|
||||
{ key: FilterKey.UnreadFilter, name: "unread", action: "Show all chats" },
|
||||
{ key: FilterKey.MentionsFilter, name: "mention", action: "See all activity" },
|
||||
{ key: FilterKey.InvitesFilter, name: "invite", action: "See all activity" },
|
||||
{ key: FilterKey.LowPriorityFilter, name: "low priority", action: "See all activity" },
|
||||
])("should display the empty state for the $name filter", async ({ key, name, action }) => {
|
||||
const user = userEvent.setup();
|
||||
const activePrimaryFilter = {
|
||||
|
||||
Reference in New Issue
Block a user