Skip to content

Commit

Permalink
feat: remove wait during test
Browse files Browse the repository at this point in the history
  • Loading branch information
anshg1214 committed Sep 4, 2024
1 parent dccb4fb commit 1e8a586
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/js/tests/user/Dashboard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@ describe("Listens page", () => {
expect(state?.status === "success").toBeTruthy();
});

await waitFor(() => {
expect(
screen.getByTestId("listen-count-card-content")
).toBeInTheDocument();
});

const listenCountCard = await screen.findByTestId("listen-count-card");

expect(listenCountCard).toHaveTextContent(
Expand Down

0 comments on commit 1e8a586

Please sign in to comment.