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

feat: add ability to additionally silence warnings #2254

Merged
merged 3 commits into from
Jun 8, 2021

Conversation

tdeekens
Copy link
Contributor

@tdeekens tdeekens commented Jun 7, 2021

Summary

This pull request suggests to be able to add silenced and not throwing warnings of the console at run time.

Description

Internally we at times want to silence warnings globally when e.g. the come from ui-kit or app-kit or libraries. However, at times we also want to log or warn but not have tests fail due to that.

As a result an initial idea is to add the ability to add silenced and not throwing warnings to the console at run time.

@changeset-bot
Copy link

changeset-bot bot commented Jun 7, 2021

🦋 Changeset detected

Latest commit: 11036dd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@commercetools-frontend/jest-preset-mc-app Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jun 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/4cedSisnRFouW3wNkYGUhVG3Egjq
✅ Preview: https://merchant-cente-git-feat-add-additional-silencing-commer-d5d322.vercel.app

@vercel vercel bot temporarily deployed to Preview June 7, 2021 10:45 Inactive
@tdeekens tdeekens force-pushed the feat/add-additional-silencing branch from 215b748 to 1a2d6cb Compare June 7, 2021 10:46
@vercel vercel bot temporarily deployed to Preview June 7, 2021 10:53 Inactive
@vercel vercel bot temporarily deployed to Preview June 7, 2021 11:59 Inactive
@tdeekens tdeekens marked this pull request as ready for review June 7, 2021 13:16
@tdeekens tdeekens requested review from pa3 and a team June 7, 2021 13:16
@tdeekens tdeekens self-assigned this Jun 7, 2021
@tdeekens tdeekens added the 🙏 Status: Dev Review Waiting for technical reviews label Jun 7, 2021
@tdeekens tdeekens requested a review from jaikumar-tj June 7, 2021 13:17
@tdeekens tdeekens merged commit 43e367b into main Jun 8, 2021
@tdeekens tdeekens deleted the feat/add-additional-silencing branch June 8, 2021 13:10
@ghost ghost mentioned this pull request Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 Status: Dev Review Waiting for technical reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants