test(frontend): Update ProfileNav properties and tests #19
GitHub Actions / JEST Tests
succeeded
Jan 17, 2024 in 0s
JEST Tests ✅
✅ junit.xml
11 tests were completed in 3s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
5✅ | 1s | |||
3✅ | 662ms | |||
3✅ | 656ms |
✅
<ProfileNav /> should render the component without error when in loading state
✅ <ProfileNav /> should render the component without error when in loading state
<ProfileNav /> should expand profile nav when dropdown is clicked
✅ <ProfileNav /> should expand profile nav when dropdown is clicked
<ProfileNav /> should render chevron down icon in trigger button when profile nav is closed and additional profiles are available
✅ <ProfileNav /> should render chevron down icon in trigger button when profile nav is closed and additional profiles are available
<ProfileNav /> should render chevron up icon in trigger button when profile nav is open and additional profiles are available
✅ <ProfileNav /> should render chevron up icon in trigger button when profile nav is open and additional profiles are available
<ProfileNav /> should not render any chevron icon when no additional profiles are available
✅ <ProfileNav /> should not render any chevron icon when no additional profiles are available
✅
<Sidebar /> should render Sidebar without throwing an error
✅ <Sidebar /> should render Sidebar without throwing an error
<Sidebar /> given sidebar is closed when the toggle button is clicked then should toggle to open
✅ <Sidebar /> given sidebar is closed when the toggle button is clicked then should toggle to open
<Sidebar /> should apply transition to nav when the toggle button is clicked
✅ <Sidebar /> should apply transition to nav when the toggle button is clicked
✅
<SideNav /> should render with passed nav items
✅ <SideNav /> should render with passed nav items
<SideNav /> should trigger setOpen on nav item click
✅ <SideNav /> should trigger setOpen on nav item click
<SideNav /> should display muted title text when current path equals nav item href
✅ <SideNav /> should display muted title text when current path equals nav item href
Loading