-- filePath: file.tsx --
~~ lineWidth: 50, jsx.multiLineParens: false ~~
== should format when single line ==
const t = <>  Testing this out  </>;

[expect]
const t = <>Testing this out</>;

== should format when multi line ==
const t = <>
        Testing

some text


that has many blank lines
and a single line
    </>;

[expect]
const t = <>
    Testing

    some text

    that has many blank lines and a single line
</>;

== should keep character entities ==
const t = <span>&nbsp;|&nbsp;</span>;

[expect]
const t = <span>&nbsp;|&nbsp;</span>;

== should wrap a single line to multiple lines ==
const t = <>
    Here is some text that will exceed the line width, but will be wrapped because of it.
</>;

[expect]
const t = <>
    Here is some text that will exceed the line
    width, but will be wrapped because of it.
</>;
