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

Stubbing components for a globally-registered component does not work #11

Closed
jackmellis opened this issue Apr 7, 2017 · 0 comments
Closed
Labels
Milestone

Comments

@jackmellis
Copy link
Owner

vuenit.component('my-component', {
  components : {
    stubbed : '<div>stubbed</div>'
  }
});

for some reason this isn't working. Moreover, it seems that <stubbed> isn't being resolved. See failing test...

@jackmellis jackmellis added the bug label Apr 7, 2017
@jackmellis jackmellis added this to the 0.2.0 milestone Apr 7, 2017
jackmellis pushed a commit that referenced this issue Apr 10, 2017
…n extended Vue constructor, it must always be on the base Vue object. This means there's no easy way to test global components, so just try to test them locally! Added a cleanUp method to help with this
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

1 participant