Skip to content

Commit

Permalink
fix: applied comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lubega-deriv committed Dec 13, 2023
1 parent 2ae836e commit 95050f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('WithdrawalVerificationRequest', () => {
const sendEmailMock = jest.fn();
render(<WithdrawalVerificationRequest sendEmail={sendEmailMock} />);

fireEvent.click(screen.getByText('Send email'));
fireEvent.click(screen.getByRole('button', { name: 'Send email' }));

expect(sendEmailMock).toHaveBeenCalledTimes(1);
});
Expand Down

0 comments on commit 95050f2

Please sign in to comment.