-
Notifications
You must be signed in to change notification settings - Fork 278
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
[Vue] Suppress unit test warnings #1335
Conversation
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.
I would suggest you to check how to add an additional pre-setup script (jest provides configuration) and mock warn
in a one place. And I think that we don't need to fully disable warn
, let's disable only specific message which is impossible to fix
@sc-addypathania Could you, please, mock only specific message that you would like to hide? |
@illiakovalenko What if there are multiple different warning messages? |
@sc-addypathania Did you investigate these warnings? May be some unit tests should be adjusted or it's expected to be in some test cases? |
Clear unit test warning on console for
sitecore-jss-vue
package by mockingwarn
.Description / Motivation
Testing Details
Types of changes