Skip to content

Commit

Permalink
Update SecuredRouteForUser.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
duplixx authored Nov 11, 2023
1 parent 09a9bf0 commit c46c375
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ describe('SecuredRouteForUser', () => {
<SecuredRouteForUser
path="/user/organizations"
component={() => (
<div data-testid="organizations-content">Organizations Component</div>
<div data-testid="organizations-content">
Organizations Component
</div>
)}
/>
)}
/>
</MemoryRouter>,
</MemoryRouter>
);

expect(screen.getByTestId('organizations-content')).toBeInTheDocument();
Expand All @@ -42,7 +44,7 @@ describe('SecuredRouteForUser', () => {
</SecuredRouteForUser>
)}
/>
</MemoryRouter>,
</MemoryRouter>
);

await waitFor(() => {
Expand Down

0 comments on commit c46c375

Please sign in to comment.