You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
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 ofmount()
.So, PR with that functionality and tests at #5
The text was updated successfully, but these errors were encountered: