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

Plain text in slot is not captured #48

Open
TheJaredWilcurt opened this issue Feb 23, 2020 · 0 comments
Open

Plain text in slot is not captured #48

TheJaredWilcurt opened this issue Feb 23, 2020 · 0 comments
Labels
branch created A branch for this issue exists bug Something isn't working help wanted Extra attention is needed

Comments

@TheJaredWilcurt
Copy link
Member

In a simple component like

<button><slot></slot></button>

Where you could use it like so in a test

<BtnSlot>text</BtnSlot>

The output should be <button>text</button> but instead is <button></button>.

This is not the case normally, there is something wrong with the setup in this repo (and likely in the original jest-serializer-vue repo). See: vuejs/vue-test-utils#1439

@TheJaredWilcurt TheJaredWilcurt added the help wanted Extra attention is needed label Feb 23, 2020
@TheJaredWilcurt TheJaredWilcurt mentioned this issue Mar 21, 2020
5 tasks
@TheJaredWilcurt TheJaredWilcurt added branch created A branch for this issue exists bug Something isn't working labels Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch created A branch for this issue exists bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant