Skip to content
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

Bug when stubbing async components #1026

Closed
ymhr opened this issue Nov 14, 2018 · 0 comments
Closed

Bug when stubbing async components #1026

ymhr opened this issue Nov 14, 2018 · 0 comments
Labels

Comments

@ymhr
Copy link

ymhr commented Nov 14, 2018

Version

1.0.0-beta.25

Reproduction link

https://github.com/ymhr/vue-test-utils-stub-async-component-bug

Steps to reproduce

Test a component which imports an async component, and try and stub the async component.

What is expected?

It should render the component with your stub in place of the async component.

What is actually happening?

It errors with TypeError: Cannot read property 'attrs' of undefined


This may be related to #1012, but that does seem like a different issue.
This does not appear to have been an error in beta.20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants