Skip to content

$emit on stub not being captured #1218

Open
@nerdcave

Description

@nerdcave

Version

1.0.0-beta.29

Reproduction link

https://codesandbox.io/s/yqjzrw25w9?fontsize=14&module=%2Fsrc%2Fapp.spec.js&previewwindow=tests

Steps to reproduce

Run the test in the link. Toggle the commented lines.

What is expected?

Event handling and emitting from stubbed components should work.

What is actually happening?

Once I stub Foo, the emitted event isn't being captured.


Also, why does wrapper.find(Foo) even exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions