Minor corrections

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2022-03-28 13:33:51 -05:00
parent 589b42d788
commit c530f3f546
2 changed files with 5 additions and 4 deletions
@@ -56,12 +56,13 @@ describe('MyGroupsSidebarItem Test', () => {
</TestApiProvider>,
{
mountedRoutes: {
'/': entityRouteRef,
'/catalog/:namespace/:kind/:name': entityRouteRef,
},
},
);
expect(rendered.container).toBeEmptyDOMElement();
expect(
rendered.getByText('Mounted at /catalog/:namespace/:kind/:name'),
).toBeInTheDocument();
});
});
@@ -62,7 +62,7 @@ export const MyGroupsSidebarItem = ({
// Not a member of any groups
if (!groups?.length) {
return <></>;
return null;
}
// Only member of one group