70 lines
986 B
Plaintext
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
|
|
/>;
|
|
|
|
================================================================================
|
|
`;
|