Skip to content

Vue Component cannot be passed to mount #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
No9 opened this issue May 21, 2018 · 1 comment
Closed

Vue Component cannot be passed to mount #635

No9 opened this issue May 21, 2018 · 1 comment

Comments

@No9
Copy link

No9 commented May 21, 2018

The app is broken as it won't get versions at the min so I am submitting direct.

Version

1.0.0-beta.16
node v8.10.0

Reproduction link

https://github.com/No9/vue-test-utils-issue

Steps to reproduce

See repo

> git clone https://github.com/No9/vue-test-utils-issue.git
> cd vue-test-utils-issue
> npm install
> npm test

What is expected?

Passing a Vue Component to vue-test-utils.mount should work as per
#329 (comment)

What is actually happening?

An error is thrown that wrapper.html() is undefined


I may have misunderstood the use of the wrapper and the library here and unpacking the vue as per the first passing test is expected behavior.

@vue-bot
Copy link

vue-bot commented May 21, 2018

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this as completed May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants