Skip to content

Commit

Permalink
Update FixPhoneNumbers/Contact.test.tsx test to include confirm butto…
Browse files Browse the repository at this point in the history
…n click and updatePhoneNumber call.
  • Loading branch information
wjames111 committed Aug 5, 2024
1 parent 088da11 commit 62fdb7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Tool/FixPhoneNumbers/Contact.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,7 @@ describe('FixPhoneNumbers-Contact', () => {
expect(handleChangePrimaryMock).toHaveBeenCalled();
userEvent.click(getByTestId('delete-testid-1'));
expect(handleDeleteModalOpenMock).toHaveBeenCalled();
userEvent.click(getByTestId(`confirmButton-${testData.id}`));
expect(updatePhoneNumber).toHaveBeenCalled();
});
});

0 comments on commit 62fdb7f

Please sign in to comment.