I've set up a @vue/cli project and want to deactivate jest warnings and want to see errors only.
How and where can I do that?
3 days ago they published a flag hideStyleWarn
in 2.4.0
.
You can add this to disable CSS warnings :
// package.json
{
"jest": {
"globals": {
"vue-jest": {
"hideStyleWarn": true
}
}
}
}
According to the doc you can also run jest in silent mode with --silent
command option.
All Jest command line options are also supported.
Check this for more Vue Jest Doc