prettier/tests/comments_jsx_same_line/__snapshots__/jsfmt.spec.js.snap

70 lines
986 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`jsx_same_line.js 1`] = `
====================================options=====================================
jsxBracketSameLine: true
parsers: ["flow", "babel", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
<div
// comment
>
{foo}
</div>;
<div
// comment
attr="foo"
>
{foo}
</div>;
<div
attr="foo" // comment
>
{foo}
</div>;
<div
attr="foo"
// comment
>
{foo}
</div>;
<br // comment
/>;
=====================================output=====================================
<div
// comment
>
{foo}
</div>;
<div
// comment
attr="foo">
{foo}
</div>;
<div
attr="foo" // comment
>
{foo}
</div>;
<div
attr="foo"
// comment
>
{foo}
</div>;
<br // comment
/>;
================================================================================
`;