You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am doing full DOM rendering, when a component contains static OR dynamic children it works. However, when a component contains static AND dynamic children, it does not:
constw=mount(<div>hello {'world'}</div>)console.log(w.debug())// output: <div />console.log(w.text())// output: hello world
Looking into this a bit more I can tell you that while the children are being rendered, as the output of .text() shows, the .debug() method is failing to show the children in this case. I'll look into this more.
I am doing full DOM rendering, when a component contains static OR dynamic children it works. However, when a component contains static AND dynamic children, it does not:
output:
Notice how C is being redered as
<div />
. Expected:<div>hello world</div>
.Not sure if it is relevant but I am using jsdom.
The text was updated successfully, but these errors were encountered: