Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Dec 18, 2024
1 parent 1090562 commit bbda91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buy/components/BuyTokenItem.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe('BuyTokenItem', () => {
render(<BuyTokenItem swapUnit={swapUnit} />);

expect(getRoundedAmount).toHaveBeenCalledWith('10.5678', 10);
expect(getRoundedAmount).toHaveBeenCalledWith('20.1234', 10);
expect(getRoundedAmount).toHaveBeenCalledWith('20.1234', 3);
expect(screen.getByText('10.5 ETH')).toBeInTheDocument();
expect(screen.getByText('Balance: 20.1')).toBeInTheDocument();
});
Expand Down

0 comments on commit bbda91a

Please sign in to comment.