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

104 lines
1.7 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`boundary.js-babylon 1`] = `
"\`\${
a + // a
a
}
\${a // comment
}
\${b /* comment */}
\${/* comment */ c /* comment */}
\${// comment
d //comment
}
\${// $FlowFixMe found when converting React.createClass to ES6
ExampleStory.getFragment('story')}
\`;
<div>
{ExampleStory.getFragment('story') // $FlowFixMe found when converting React.createClass to ES6
}
</div>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\`\${a + a // a
}
\${/* comment*/
a}
\${/* comment */ b}
\${/* comment */ /* comment */ c}
\${/* comment*/
/*comment*/
d}
\${/* $FlowFixMe found when converting React.createClass to ES6*/
ExampleStory.getFragment(\\"story\\")}
\`;
<div>
{ExampleStory.getFragment(\\"story\\") // $FlowFixMe found when converting React.createClass to ES6
}
</div>;
"
`;
exports[`boundary.js-flow 1`] = `
"\`\${
a + // a
a
}
\${a // comment
}
\${b /* comment */}
\${/* comment */ c /* comment */}
\${// comment
d //comment
}
\${// $FlowFixMe found when converting React.createClass to ES6
ExampleStory.getFragment('story')}
\`;
<div>
{ExampleStory.getFragment('story') // $FlowFixMe found when converting React.createClass to ES6
}
</div>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\`\${a + a // a
}
\${/* comment*/
a}
\${/* comment */ b}
\${/* comment */ /* comment */ c}
\${/* comment*/
/*comment*/
d}
\${/* $FlowFixMe found when converting React.createClass to ES6*/
ExampleStory.getFragment(\\"story\\")}
\`;
<div>
{ExampleStory.getFragment(\\"story\\") // $FlowFixMe found when converting React.createClass to ES6
}
</div>;
"
`;