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
it('renders a component with a fragment at the root',function(){constFragment=function(){return<><div>Yay</div><div>Yeah</div></>;};expect(<Fragment/>,'to deeply render as',<><div>Yay</div><div>Yeah</div></>);});
with the following error:
1) unexpected-react (deep rendering) to deeply render as renders a component with a fragment at the root:
UnexpectedError:
expected <Fragment />
to deeply render as <no-display-name><div>Yay</div><div>Yeah</div></no-display-name>
<Fragment // should be <no-display-name
>
<div>Yay</div><div>Yeah</div>
</Fragment>
The text was updated successfully, but these errors were encountered:
This test currently fails:
with the following error:
The text was updated successfully, but these errors were encountered: