-
Notifications
You must be signed in to change notification settings - Fork 616
chore: Remove unnecessary theme providers #6224
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
Conversation
|
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
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.
Pull Request Overview
This PR removes unnecessary ThemeProvider
wrappers and unused theme
imports from various test files, simplifying test setups now that the default theme is applied globally.
- Deleted
ThemeProvider
imports and wrapping components in tests. - Removed unused
theme
imports where applicable.
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
packages/react/src/experimental/SelectPanel2/SelectPanel.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/tests/deprecated/ActionList.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/TreeView/TreeView.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/TooltipV2/tests/Tooltip.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/SplitPageLayout/SplitPageLayout.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/PageLayout/PageLayout.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/NavList/NavList.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/AnchoredOverlay/AnchoredOverlay.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/ActionList/Heading.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/ActionList/Group.test.tsx | Removed ThemeProvider import and wrapper |
packages/react/src/ActionList/ActionList.test.tsx | Removed ThemeProvider import and wrapper |
size-limit report 📦
|
Closes #4514