Skip to content
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

refactor: custom render should provide container #4938

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Oct 5, 2023

About the changes

Move boilerplate provider to the render method.

<UIProviderContainer> is around all your tested component so you don't have to type it yourself.

This is 2 LOC change + updated all tests that used it.

Important files

Discussion points

@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs 🔄 Building (Inspect) Visit Preview Oct 5, 2023 2:08pm
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2023 2:08pm

</ThemeProvider>
</AccessProviderMock>
</SWRConfig>
<UIProviderContainer>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is where we moved it

@kwasniew kwasniew merged commit 80eb6e1 into main Oct 6, 2023
12 of 16 checks passed
@kwasniew kwasniew deleted the provide-base-ui-container-tests branch October 6, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants