Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Sep 1, 2021

WHY are these changes introduced?

I am updating existing tests for Checkbox and Choicelist components to use the new modern framework.

WHAT is this pull request doing?

Part of test modernization (https://docs.google.com/spreadsheets/d/1GBuEZbOpVYJLNISK7gL69DU8rCxocn5L5GYaKtPXPbU/edit#gid=1498187033), updating tests using {mountWithAppProvider} from 'test-utilities/legacy' to {mountWithApp} from 'test-utilities'.

@ghost ghost force-pushed the polaris_checkbox_checklist branch from 63000fb to 37f432d Compare September 1, 2021 17:56
Copy link
Author

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is three of the tests that I am trying to fix, but I am not sure what is the error to be honest. I was trying different things, so I preferred at the end to open for comments/suggestions

@ghost ghost changed the title Modernized tests for Checkbox and Choicelist [TestModernization]: Add test modernization to Checkbox and Choicelist Sep 1, 2021
@ghost ghost requested review from a team and kyledurand September 1, 2021 18:10
@ghost ghost marked this pull request as ready for review September 1, 2021 18:10
@kyledurand kyledurand force-pushed the polaris_checkbox_checklist branch from 3bb2e4e to e66f56a Compare September 2, 2021 16:49
@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2021

size-limit report

Path Size
cjs 163.46 KB (0%)
esm 96.19 KB (0%)
esnext 143.09 KB (0%)
css 34.52 KB (0%)

Copy link
Member

@kyledurand kyledurand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Thanks @kpinzas-sh 👏

@ghost ghost merged commit 0eefbf1 into main Sep 2, 2021
@ghost ghost deleted the polaris_checkbox_checklist branch September 2, 2021 17:49
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants