-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Hey sorry for the multiple issues but saw this while driving out a test.
This may be more of a discussion, but what is the intended behavior of error propogation in vue-test-utils? I created an example below but what i'm seeing in production is a mounted function in throwing an error due to some bad assumptions and that causes a white screen. In my test when i reproduce by throwing an error in the mounted function I see the error in the console but I am not able to access it in vue-test-utils, i've tried numerous 'mocha' like ways to get the error to surface but was unable to.
Any thoughts on how to get access to thrown errors?
Here is a repo with reproduction.
https://github.com/Austio/vue-test-utils-mocha-webpack-example/pull/1/files