Closed
Description
Version
1.0.0-beta.16
Reproduction link
https://codesandbox.io/s/y0584j4lmj
Steps to reproduce
Run the tests, and you will see the following error (in the console tab):
[Vue warn]: Error in mounted hook: "Error: This is an example error"
What is expected?
I didn't expect to see all the errors in my console (in the terminal it is even more, with a complete stack trace). I would rather not, because all the tests are passing
What is actually happening?
It throws the error, but it does not catch the error
I tried some config
import Vue from 'vue'
Vue.config.silent = true
mount(Component, {
localVue: Vue
})
Additional thoughts
I also thought of silencing jest with --silent
, but then no other errors will come trough.
There must be something that I am missing here.