-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPDX-7419 - fix phone numbers - confirm individual #991
Conversation
…mber arguments to use numbers instead of contact.
Preview branch generated at https://MPDX-7419-confirm-individual.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against 63b1170
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work man! I tested it and it seems to work great. It modifies the cache and updates the phone number. I just have a small request to add a test that it calls the mock function.
@@ -118,6 +123,7 @@ describe('FixPhoneNumbers-Contact', () => { | |||
handleAdd={handleAddMock} | |||
handleChangePrimary={handleChangePrimaryMock} | |||
setContactFocus={setContactFocus} | |||
handleUpdate={updatePhoneNumber} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you could test that this mock function gets called in thisshould call mock functions
test block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, I'll add that test in. Let me know if I missed any other things I should test for.
…n click and updatePhoneNumber call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Description
Checklist: