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

Patch render does not stub dynamic components #1045

Closed
aguingand opened this issue Nov 27, 2018 · 0 comments
Closed

Patch render does not stub dynamic components #1045

aguingand opened this issue Nov 27, 2018 · 0 comments
Labels

Comments

@aguingand
Copy link

Version

1.0.0-beta.26

Reproduction link

https://codesandbox.io/s/7w7voqkzkj?module=%2Ftest%2Fshallow-mount.spec.js&previewwindow=tests

Steps to reproduce

Open the reproduction link, see the test failing

What is expected?

Every components to be stubbed

<div>
    <childcomponent-stub text="normal"></childcomponent-stub>
    <childcomponent-stub text="data"></childcomponent-stub>
    <childcomponent-stub text="computed"></childcomponent-stub>
    <childcomponent-stub text="method"></childcomponent-stub>
</div>

What is actually happening?

Only the normal component is stubbed

<div>
  <childcomponent-stub text="normal"></childcomponent-stub> 
  <div text="data"></div>
  <div text="computed"></div>
  <div text="method"></div>
</div>

The unit test code come from the last release (#1038)

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