From 74aed2fc4725f62228845615ea538bd95f8c5e55 Mon Sep 17 00:00:00 2001
From: Aryan Shah <149894557+ARYANSHAH1567@users.noreply.github.com>
Date: Fri, 1 Nov 2024 16:35:55 +0530
Subject: [PATCH] Update UserSidebar.test.tsx
---
.../UserSidebar/UserSidebar.test.tsx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/components/UserPortal/UserSidebar/UserSidebar.test.tsx b/src/components/UserPortal/UserSidebar/UserSidebar.test.tsx
index d76f2b720d..0d01ffd20d 100644
--- a/src/components/UserPortal/UserSidebar/UserSidebar.test.tsx
+++ b/src/components/UserPortal/UserSidebar/UserSidebar.test.tsx
@@ -499,14 +499,14 @@ describe('Testing UserSidebar Component [User Portal]', () => {
-
+ ,
);
-
+
// Check for `hideElemByDefault` class when hideDrawer is null
expect(screen.getByTestId('leftDrawerContainer')).toHaveClass(
- styles.hideElemByDefault
+ styles.hideElemByDefault,
);
-
+
// Rerender with hideDrawer set to true and verify `inactiveDrawer`
rerender(
@@ -517,12 +517,12 @@ describe('Testing UserSidebar Component [User Portal]', () => {
-
+ ,
);
expect(screen.getByTestId('leftDrawerContainer')).toHaveClass(
- styles.inactiveDrawer
+ styles.inactiveDrawer,
);
-
+
// Rerender with hideDrawer set to false and verify `activeDrawer`
rerender(
@@ -533,10 +533,10 @@ describe('Testing UserSidebar Component [User Portal]', () => {
-
+ ,
);
expect(screen.getByTestId('leftDrawerContainer')).toHaveClass(
- styles.activeDrawer
+ styles.activeDrawer,
);
});
});