Skip to content

Commit

Permalink
Nevermind
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira committed Feb 4, 2025
1 parent c77a462 commit f0ee81a
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,6 @@ describe('DashboardLayout', () => {
'Mui-selected',
);

rerender(<AppWithPathname pathname="/orders?query=test" />);

expect(within(desktopNavigation).getByRole('link', { name: 'Dashboard' })).not.toHaveClass(
'Mui-selected',
);
expect(within(desktopNavigation).getByRole('link', { name: 'Orders' })).toHaveClass(
'Mui-selected',
);

rerender(<AppWithPathname pathname="/dynamic" />);
expect(within(desktopNavigation).getByRole('link', { name: 'Dynamic' })).not.toHaveClass(
'Mui-selected',
Expand Down

0 comments on commit f0ee81a

Please sign in to comment.