Skip to content

Commit

Permalink
fix(SaleHeaderbanner): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Hill authored and Aaron Hill committed Dec 13, 2024
1 parent 58ac9ff commit c603606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patterns/SaleHeaderBanner/SaleHeaderBanner.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('SaleHeaderBanner', () => {
Register to Bid
</SaleHeaderBanner>,
);
screen.getByText('Register to Bid').click();
screen.getByRole('button').click();
expect(handleClick).toHaveBeenCalledTimes(1);
});

Expand Down

0 comments on commit c603606

Please sign in to comment.