Skip to content

Commit

Permalink
updated src/screens/EventVolunteers/Requests.spec.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Bandhan Majumder committed Dec 12, 2024
1 parent 3484f6e commit b689eff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/screens/EventVolunteers/Requests/Requests.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ describe('Testing Requests Screen', () => {
</MemoryRouter>
</MockedProvider>,
);

await waitFor(() => {
expect(window.location.pathname).toBe('/');
});
expect(window.location.pathname).toBe('/');
});

it('should render Requests screen', async () => {
Expand Down

0 comments on commit b689eff

Please sign in to comment.