Skip to content

Conversation

@rdott
Copy link
Contributor

@rdott rdott commented Aug 24, 2021

WHY are these changes introduced?

Updating existing tests to use the new modern framework and eliminate stale dependencies.

For the following component tests:

  • EmptyState

WHAT is this pull request doing?

Part of test modernization, updating tests using {mountWithAppProvider} from 'test-utilities/legacy' to {mountWithApp} from 'test-utilities'

@github-actions
Copy link
Contributor

github-actions bot commented Aug 24, 2021

size-limit report

Path Size
cjs 143.11 KB (0%)
esm 96.81 KB (0%)
esnext 140.11 KB (0%)
css 33.96 KB (0%)

@rdott rdott force-pushed the test-mod/emptystate branch from 7e96081 to 9f0ee0f Compare August 25, 2021 19:42
@rdott rdott requested review from a team and LauraAubin August 25, 2021 19:57
@rdott rdott marked this pull request as ready for review August 25, 2021 19:57
UNRELEASED.md Outdated
- Modernized tests for EventListener and EmptySearch components([#4423](https://github.com/Shopify/polaris-react/pull/4423))
- Modernized tests for Pane, Section, PositionedOverlay, SingleThumb, RangeSlider, and ConnectedFilter components ([#4429](https://github.com/Shopify/polaris-react/pull/4429))
- Modernized tests for ContextualSaveBar and DataTable and its subcomponents ([#4397](https://github.com/Shopify/polaris-react/pull/4397))
- Modernized tests for EmptyState component ([#](https://github.com/Shopify/polaris-react/pull/))
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Modernized tests for EmptyState component ([#](https://github.com/Shopify/polaris-react/pull/))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol, thanks for catching that, I had it in as a placeholder until I actually made the PR 🙏

Copy link
Contributor

@LauraAubin LauraAubin left a comment

Choose a reason for hiding this comment

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

One extra entry in the unreleased file, other than that LGTM ✨

@rdott rdott force-pushed the test-mod/emptystate branch from a66f731 to fdeb76c Compare August 26, 2021 14:18
@rdott rdott merged commit bb65f91 into main Aug 26, 2021
@rdott rdott deleted the test-mod/emptystate branch August 26, 2021 14:32
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.

3 participants