From f0ee81aa451779541b1fe5ed0a28c861a70c3c04 Mon Sep 17 00:00:00 2001
From: Pedro Ferreira <10789765+apedroferreira@users.noreply.github.com>
Date: Tue, 4 Feb 2025 11:19:16 +0000
Subject: [PATCH] Nevermind
---
.../src/DashboardLayout/DashboardLayout.test.tsx | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/packages/toolpad-core/src/DashboardLayout/DashboardLayout.test.tsx b/packages/toolpad-core/src/DashboardLayout/DashboardLayout.test.tsx
index 823e7ae6f7b..dde3582feed 100644
--- a/packages/toolpad-core/src/DashboardLayout/DashboardLayout.test.tsx
+++ b/packages/toolpad-core/src/DashboardLayout/DashboardLayout.test.tsx
@@ -260,15 +260,6 @@ describe('DashboardLayout', () => {
'Mui-selected',
);
- rerender();
-
- expect(within(desktopNavigation).getByRole('link', { name: 'Dashboard' })).not.toHaveClass(
- 'Mui-selected',
- );
- expect(within(desktopNavigation).getByRole('link', { name: 'Orders' })).toHaveClass(
- 'Mui-selected',
- );
-
rerender();
expect(within(desktopNavigation).getByRole('link', { name: 'Dynamic' })).not.toHaveClass(
'Mui-selected',