Skip to content

Prop declared in mixin is not recognized when using shallowMount #1096

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
lusarz opened this issue Jan 14, 2019 · 1 comment
Closed

Prop declared in mixin is not recognized when using shallowMount #1096

lusarz opened this issue Jan 14, 2019 · 1 comment
Labels

Comments

@lusarz
Copy link
Contributor

lusarz commented Jan 14, 2019

Version

1.0.0-beta.28

Reproduction link

https://github.com/lusarz/vue-test-utils-examples/commit/1ab138962e9530d24381bad22f411abd9a488093

Steps to reproduce

What is expected?

Prop has appropriate value

What is actually happening?

Prop is undefined


When I either use mount or declare props directly in child component everything works

@eddyerburgh
Copy link
Member

Thanks for the bug report. This is a duplicate of #1094 so I'm closing this in favor of #1094

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