Skip to content

vm.emit on root component not working #1385

Open
@aldarund

Description

@aldarund

Version

1.0.0-beta.30

Reproduction link

https://github.com/aldarund/vue-test-utils-transition-bug

Steps to reproduce

add event to root element in vue component, try to trigger it via .vm.$emit .
Relevant test is at components/emit.test.js
If element isnt root - it works fine. If root - no emit happens

What is expected?

test is passed

What is actually happening?

test is faling

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