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

Fix issue in Jest setup, fix failing tests #7221

Merged

Conversation

joshblack
Copy link
Contributor

Closes #7186

While working through #7186 I noticed that our test suite should have been failing for the deprecation notice, but then it wasn't. When digging in I noticed a bug with how we error out on console statements that were swallowing errors. This PR fixes that issue and any corresponding tests that failed as a result.

Changelog

New

  • Add codemod for some prop renames

Changed

  • Update our Jest test setup to account for errors in beforeEach
  • Update tab to not show deprecations by default
  • Button size renames
  • TileGroup test update
  • TimePicker test updates
  • Fix DropdownSkeleton deprecation with inline prop
  • Search size update
  • HeaderMenu test updates
  • Toolbar test updates
  • InlineLoading test updates

@joshblack joshblack requested review from a team as code owners November 4, 2020 20:20
@netlify
Copy link

netlify bot commented Nov 4, 2020

Deploy preview for carbon-elements ready!

Built with commit 938217f

https://deploy-preview-7221--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Nov 4, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 938217f

https://deploy-preview-7221--carbon-components-react.netlify.app

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@joshblack
Copy link
Contributor Author

bump @aledavila @andreancardona if you all have a sec today 👀

Also free to go over anything if there are any questions!

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

🙌 looks great @joshblack !!

@kodiakhq kodiakhq bot merged commit a4bad88 into carbon-design-system:master Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to render <Tab> without deprecation warnings
3 participants