Skip to content

Commit

Permalink
updated errorHandler.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bandhan-majumder committed Dec 12, 2024
1 parent b1ef59b commit 9822841
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/errorHandler.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ describe('Test if errorHandler is working properly', () => {
it('should call toast.error with the correct message if error message contains this substring "Value is not a valid phone number"', () => {
const error = new Error('This value is not a valid phone number');
errorHandler(t, error);
console.log(toast.error);
expect(toast.error).toHaveBeenCalledWith(tErrors('invalidPhoneNumber'));
});

Expand Down

0 comments on commit 9822841

Please sign in to comment.