Skip to content

Commit

Permalink
feat: fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Aug 14, 2024
1 parent 049a7e8 commit ddda8ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ describe('<CollapsibleNavGroupEnabled />', () => {
it('should render correctly when only one visible use case is provided', () => {
const props = mockProps();
const { getAllByTestId } = render(<CollapsibleNavGroupEnabled {...props} isNavOpen />);
expect(getAllByTestId('collapsibleNavAppLink-link-in-observability').length).toEqual(1);
expect(getAllByTestId('collapsibleNavAppLink-link-in-observability').length).toEqual(2);
});

it('should show all use case by default and able to click see all', async () => {
Expand Down

0 comments on commit ddda8ca

Please sign in to comment.