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've seen a.couple of instances where wrapper components with {children} prop arent being included in the snapshot.
i tried but failed to create a sandbox as i have been getting jest related errors using codesandbox so I abandoned the effort. It would be great to have a working sandbox as a reference point to try out some of the examples.
problem I am seeing is that Foo is not being included in the snapshot.
function Foo({ children }) {
return <div>
<p>foo</p>
{ children }
</div>
}
function Bar() {
return <div>
bar
</div>
}
export default function App() {
return (
<Foo>
<Bar/>
</Foo>
);
}
results seen so far: snapshot renders Bar only.
A forkable sandbox would be a great place to isolate some of these tests and share results.
Thanks
The text was updated successfully, but these errors were encountered:
i've seen a.couple of instances where wrapper components with {children} prop arent being included in the snapshot.
i tried but failed to create a sandbox as i have been getting jest related errors using codesandbox so I abandoned the effort. It would be great to have a working sandbox as a reference point to try out some of the examples.
problem I am seeing is that Foo is not being included in the snapshot.
results seen so far: snapshot renders Bar only.
A forkable sandbox would be a great place to isolate some of these tests and share results.
Thanks
The text was updated successfully, but these errors were encountered: