Closed
Description
Version
1.0.0-beta.19
Reproduction link
https://codesandbox.io/s/5m3jqzlypn
Steps to reproduce
Using Jest and Vue test utils v19
Create a component like in the provided link, and include a child component. The child component should be shown based on a condition that is passed to the component. Create a test and pass the component a prop and give the prop value false, and then try to check if the component exists and it will return true.
What is expected?
The test should return false.
What is actually happening?
It is returning a list of rendered components and giving true.