2017-02-22 00:59:19 +03:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
2018-11-25 11:21:14 +03:00
exports[`test.js 1`] = `
====================================options=====================================
2018-12-27 16:05:19 +03:00
parsers: ["flow", "babel", "typescript"]
2018-11-25 11:21:14 +03:00
printWidth: 80
| printWidth
=====================================input======================================
2017-04-12 23:41:51 +03:00
long_closed =
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"/>
2017-01-25 01:35:37 +03:00
long_open =
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
2017-01-25 01:35:37 +03:00
hello
</BaseForm>
long_open_long_children =
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
2017-01-25 01:35:37 +03:00
Hello world
</BaseForm>
<div><div><div><div><div><div>hey hiya how are ya</div></div></div></div></div></div>
2017-04-12 23:41:51 +03:00
<div><div><div><div attr="long" attr2="also long" attr3="gonna break"></div></div></div></div>
2017-01-25 01:35:37 +03:00
<div><div><div>
2017-04-12 23:41:51 +03:00
<div attr="long" attr2="also long" attr3="gonna break" attr4="hello please break me" />
2017-01-25 01:35:37 +03:00
</div></div></div>
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"><BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"></BaseForm>d</BaseForm>
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"><BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"></BaseForm></BaseForm>
2017-01-25 01:35:37 +03:00
</BaseForm>
short_closed =
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET"/>
2017-01-25 01:35:37 +03:00
short_open =
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET">
2017-01-25 01:35:37 +03:00
hello
</BaseForm>
make_self_closing =
<div>
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
2017-01-25 01:35:37 +03:00
</BaseForm>
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"></BaseForm>
2017-01-25 01:35:37 +03:00
</div>
leave_opening =
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"> </BaseForm>
2017-01-27 01:22:56 +03:00
long_string =
2017-04-12 23:41:51 +03:00
<div className="i use bootstrap and just put loooaads of classnames in here all the time">hello world</div>
2017-01-27 01:22:56 +03:00
long_string_with_extra_param =
2017-04-12 23:41:51 +03:00
<div className="i use bootstrap and just put loooaads of classnames in here all the time" blah="3">hello world</div>
2017-01-27 01:22:56 +03:00
long_obj =
2017-02-22 00:59:19 +03:00
<div style={{ i: 'dont', use: 'bootstrap', and: 'instead', use: 'massive', objects }}>hello world</div>
2018-11-25 11:21:14 +03:00
=====================================output=====================================
2017-01-25 01:35:37 +03:00
long_closed = (
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
/>
);
long_open = (
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
hello
</BaseForm>
);
long_open_long_children = (
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
Hello world
</BaseForm>
<div>
2017-06-22 19:19:44 +03:00
<div>
<div>
<div>
<div>
<div>hey hiya how are ya</div>
</div>
</div>
</div>
</div>
2017-01-25 01:35:37 +03:00
</div>
<div>
<div>
2017-06-22 19:19:44 +03:00
<div>
2019-05-16 21:14:35 +03:00
<div attr="long" attr2="also long" attr3="gonna break"></div>
2017-06-22 19:19:44 +03:00
</div>
2017-01-25 01:35:37 +03:00
</div>
</div>
<div>
<div>
<div>
<div
2017-04-12 23:41:51 +03:00
attr="long"
attr2="also long"
attr3="gonna break"
attr4="hello please break me"
2017-01-25 01:35:37 +03:00
/>
</div>
</div>
</div>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2019-05-16 21:14:35 +03:00
></BaseForm>
2018-06-25 21:11:40 +03:00
d
2017-01-25 01:35:37 +03:00
</BaseForm>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2019-05-16 21:14:35 +03:00
></BaseForm>
2017-01-25 01:35:37 +03:00
</BaseForm>
</BaseForm>
);
2017-04-12 23:41:51 +03:00
short_closed = <BaseForm url="/auth/google" method="GET" />;
2017-01-25 01:35:37 +03:00
short_open = (
2017-04-12 23:41:51 +03:00
<BaseForm url="/auth/google" method="GET">
2017-01-25 01:35:37 +03:00
hello
</BaseForm>
);
make_self_closing = (
<div>
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2019-05-16 21:14:35 +03:00
></BaseForm>
2017-01-25 01:35:37 +03:00
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2019-05-16 21:14:35 +03:00
></BaseForm>
2017-01-25 01:35:37 +03:00
</div>
);
leave_opening = (
<BaseForm
2017-04-12 23:41:51 +03:00
url="/auth/google"
method="GET"
colour="blue"
size="large"
submitLabel="Sign in with Google"
2017-01-25 01:35:37 +03:00
>
2017-04-12 23:41:51 +03:00
{" "}
2017-01-25 01:35:37 +03:00
</BaseForm>
);
2017-01-27 01:22:56 +03:00
long_string = (
2017-04-12 23:41:51 +03:00
<div className="i use bootstrap and just put loooaads of classnames in here all the time">
2017-01-27 01:22:56 +03:00
hello world
</div>
);
long_string_with_extra_param = (
<div
2017-04-12 23:41:51 +03:00
className="i use bootstrap and just put loooaads of classnames in here all the time"
blah="3"
2017-01-27 01:22:56 +03:00
>
hello world
</div>
);
long_obj = (
<div
style={{
2017-04-12 23:41:51 +03:00
i: "dont",
use: "bootstrap",
and: "instead",
use: "massive",
2017-01-27 01:22:56 +03:00
objects
}}
>
hello world
</div>
);
2017-04-12 23:41:51 +03:00
2018-11-25 11:21:14 +03:00
================================================================================
2017-01-25 01:35:37 +03:00
`;