Skip to content

Mocking named slots is not working #967

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
kieselsteini opened this issue Sep 12, 2018 · 0 comments
Closed

Mocking named slots is not working #967

kieselsteini opened this issue Sep 12, 2018 · 0 comments
Labels

Comments

@kieselsteini
Copy link

Version

1.0.0-beta.25

Reproduction link

https://github.com/kieselsteini/vue-named-slot-issue

Steps to reproduce

  • yarn install
  • yarn test:unit

What is expected?

  • named slot "header" should contain "Hi, I am the header slot!"
  • default slot should contain "Hi, I am the default slot!"

What is actually happening?

  • default slot contains both
<div class="hello"><header></header> Hi, I am the default slot!Hi, I am the header slot!</div>
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