Skip to content

Commit

Permalink
fix test 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Quanmuito committed Jan 27, 2024
1 parent 6bd7ae2 commit 2ca1fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test.each(deliveryCases)(
fireEvent.change(orderTimeInput, { target: { value: dt } });

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

0 comments on commit 2ca1fec

Please sign in to comment.