Skip to content

Expected Behavior of Error Propogation #147

@Austio

Description

@Austio

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions