Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jul 20, 2021

WHY are these changes introduced?

I am updating existing tests for the following components in Frame component to use the new modern framework:

  • DiscardConfirmationModal
  • ContextualSaveBar
  • Loading
  • Toast
  • ToastManager
  • Frame

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'.

@github-actions
Copy link
Contributor

size-limit report

Path Size
cjs 142.12 KB (0%)
esm 95.85 KB (0%)
esnext 138.85 KB (0%)
css 33.56 KB (0%)

@ghost ghost force-pushed the polaris_test_frame branch from 98f226e to 4b6baf4 Compare July 20, 2021 02:44
@ghost ghost changed the title [Test Modernization]: Add frame tests for components [Test Modernization]: Frame components Jul 20, 2021
@ghost ghost requested review from a team and dleroux July 20, 2021 12:11
@ghost ghost requested review from rclayton-shopify and rdott July 22, 2021 18:57
@ghost ghost removed the request for review from rclayton-shopify July 22, 2021 18:57
Copy link
Contributor

@rdott rdott left a comment

Choose a reason for hiding this comment

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

🎉 LGTM!

@ghost ghost merged commit 2179f2b into main Aug 10, 2021
@ghost ghost deleted the polaris_test_frame branch August 10, 2021 13:46
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