113 lines
1.7 KiB
Plaintext
113 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`jsx_ignore.js - flow-verify 1`] = `
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */}
|
|
<style jsx global>{ComponentStyles}</style>
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */}
|
|
<span ugly format='' />
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
f(
|
|
<Component>
|
|
{/*prettier-ignore*/}
|
|
<span ugly format='' />
|
|
</Component>
|
|
);
|
|
|
|
// this be formatted
|
|
<div>
|
|
{/* prettier-ignore */} foo
|
|
<Bar excessive spaces />
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{
|
|
/* prettier-ignore */
|
|
foo ( )
|
|
}
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{
|
|
/* prettier-ignore */
|
|
x ? <Y/> : <Z/>
|
|
}
|
|
</div>;
|
|
|
|
push(
|
|
// prettier-ignore
|
|
<td> :)
|
|
</td>,
|
|
);
|
|
|
|
function f() {
|
|
return (
|
|
// prettier-ignore
|
|
/* $FlowFixMe(>=0.53.0) */
|
|
<JSX />
|
|
);
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */}
|
|
<style jsx global>{ComponentStyles}</style>
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */}
|
|
<span ugly format='' />
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
f(
|
|
<Component>
|
|
{/*prettier-ignore*/}
|
|
<span ugly format='' />
|
|
</Component>
|
|
);
|
|
|
|
// this be formatted
|
|
<div>
|
|
{/* prettier-ignore */} foo
|
|
<Bar excessive spaces />
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */
|
|
foo ( )}
|
|
</div>;
|
|
|
|
// this should remain as-is
|
|
<div>
|
|
{/* prettier-ignore */
|
|
x ? <Y/> : <Z/>}
|
|
</div>;
|
|
|
|
push(
|
|
// prettier-ignore
|
|
<td> :)
|
|
</td>
|
|
);
|
|
|
|
function f() {
|
|
return (
|
|
// prettier-ignore
|
|
/* $FlowFixMe(>=0.53.0) */
|
|
<JSX />
|
|
);
|
|
}
|
|
|
|
`;
|