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

Implement handling for provide/inject functionality #6

Closed
tom-kitchin opened this issue May 24, 2017 · 1 comment
Closed

Implement handling for provide/inject functionality #6

tom-kitchin opened this issue May 24, 2017 · 1 comment

Comments

@tom-kitchin
Copy link
Contributor

Not sure if you want me to write an issue when I've submitted a PR already, but just in case:

Vue 2.2+ includes the provide/inject functionality for a sort of component-level dependency injection. Could be faked in the existing vue-unit build by mounting the component to be tested within another component using build() to set up the provider, but it'd be nice to be able to stub out provides as part of mount().

So, PR with that functionality and tests at #5

@wrseward
Copy link
Owner

Thanks so much!

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