Expected this test to pass:
test('html white space', () => {
expect(
<div>{'foo bar'}</div>,
'to deeply render as',
<div>foo bar</div>
);
});
Got this failure instead:
UnexpectedError:
expected <div>foo bar</div> to deeply render as <div>foo bar</div>
<div>
foo bar // foo bar
// foo bar
</div>