Skip to content

Commit

Permalink
fix test 19
Browse files Browse the repository at this point in the history
  • Loading branch information
Quanmuito committed Jan 28, 2024
1 parent 18a8bc4 commit c86e2a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ test.each(deliveryCases)(

act(() => fireEvent.click(screen.getByText(/calculate delivery price/i)));
const result = await screen.findByTestId('fee');
await new Promise((resolve) => setTimeout(resolve, 1000));
expect(result).toHaveTextContent(expected);
}
);
Expand Down

0 comments on commit c86e2a8

Please sign in to comment.