From 267191e2bbd677da114ea186f024ca50f7e3e8d4 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 19 Apr 2022 17:42:17 +0200 Subject: [PATCH] org: tweak test for empty content Signed-off-by: Patrik Oldsberg --- .../MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx b/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx index 794dd23747..d290001eb8 100644 --- a/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx +++ b/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx @@ -58,9 +58,7 @@ describe('MyGroupsSidebarItem Test', () => { }, }, ); - expect( - rendered.getByText('Mounted at /catalog/:namespace/:kind/:name'), - ).toBeInTheDocument(); + expect(rendered.container).toBeEmptyDOMElement(); }); });