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

refactor(geojs): use Vue's provide/inject API in the geojs layer mixin #39

Merged
merged 1 commit into from
Jun 21, 2018

Conversation

jbeezley
Copy link

This provides more flexibility in using the components compared to
accessing the $parent component directly. This is particularly
relevant because newer versions of @vue/test-utils broke how we were
injecting the parent components in unit testing.

Note: This also updates @vue/test-utils, but not to the latest version
because there is a bug since beta-18 causing props not to be updated.
This may (or may not) be related to the following issue:

vuejs/vue-test-utils#738

This provides more flexibility in using the components compared to
accessing the `$parent` component directly.  This is particularly
relevant because newer versions of `@vue/test-utils` broke how we were
injecting the parent components in unit testing.

Note: This also updates `@vue/test-utils`, but not to the latest version
because there is a bug since `beta-18` causing props not to be updated.
This may (or may not) be related to the following issue:

vuejs/vue-test-utils#738
@jbeezley jbeezley merged commit bfa8a93 into master Jun 21, 2018
@jbeezley jbeezley deleted the geojs-provide-inject branch June 21, 2018 17:27
@jbeezley
Copy link
Author

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant