Skip to content

Commit cadf12f

Browse files
usersidebar fix testcase
1 parent 4ec468a commit cadf12f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/UserPortal/UserSidebarOrg/UserSidebarOrg.test.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ describe('Testing LeftDrawerOrg component for SUPERADMIN', () => {
462462
</I18nextProvider>
463463
</Provider>
464464
</BrowserRouter>
465-
</MockedProvider>
465+
</MockedProvider>,
466466
);
467467

468468
await wait();
@@ -483,8 +483,8 @@ describe('Testing LeftDrawerOrg component for SUPERADMIN', () => {
483483

484484
// Check if the modal is closed (no longer in the document)
485485
await wait();
486-
expect(screen.queryByText('Leaving organization ?')).not.toBeInTheDocument();
486+
expect(
487+
screen.queryByText('Leaving organization ?'),
488+
).not.toBeInTheDocument();
487489
});
488-
489-
490490
});

0 commit comments

Comments
 (0)