Files
test-repo/tests/jsx/split-attrs/test.js
T
fisker Cheung f8c5b1fd1d Categorize tests part 2 (#8248)
* Categorize tests (yaml, markdown)

* Categorize tests (handlebars)

* Categorize tests (graphql)

* Categorize tests (typescript)

* Categorize tests (json)

* Categorize tests (jsx)
2020-05-07 23:54:44 +08:00

49 lines
2.2 KiB
JavaScript

long_closed =
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"/>
long_open =
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
hello
</BaseForm>
long_open_long_children =
<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">
Hello world
</BaseForm>
<div><div><div><div><div><div>hey hiya how are ya</div></div></div></div></div></div>
<div><div><div><div attr="long" attr2="also long" attr3="gonna break"></div></div></div></div>
<div><div><div>
<div attr="long" attr2="also long" attr3="gonna break" attr4="hello please break me" />
</div></div></div>
<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>
</BaseForm>
short_closed =
<BaseForm url="/auth/google" method="GET"/>
short_open =
<BaseForm url="/auth/google" method="GET">
hello
</BaseForm>
make_self_closing =
<div>
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google">
</BaseForm>
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"></BaseForm>
</div>
leave_opening =
<BaseForm url="/auth/google" method="GET" colour="blue" size="large" submitLabel="Sign in with Google"> </BaseForm>
long_string =
<div className="i use bootstrap and just put loooaads of classnames in here all the time">hello world</div>
long_string_with_extra_param =
<div className="i use bootstrap and just put loooaads of classnames in here all the time" blah="3">hello world</div>
long_obj =
<div style={{ i: 'dont', use: 'bootstrap', and: 'instead', use: 'massive', objects }}>hello world</div>