193 lines
3.6 KiB
Plaintext
193 lines
3.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`test.js 1`] = `
|
|
after =
|
|
<span>
|
|
foo <span>bar</span>
|
|
</span>
|
|
|
|
before =
|
|
<span>
|
|
<span>bar</span> foo
|
|
</span>
|
|
|
|
before_break1 =
|
|
<span>
|
|
<span barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar /> foo
|
|
</span>
|
|
|
|
before_break2 =
|
|
<span>
|
|
<span barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar /> foo
|
|
</span>
|
|
|
|
after_break =
|
|
<span>
|
|
foo <span barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar />
|
|
</span>
|
|
|
|
within =
|
|
<span>
|
|
foo <span> bar </span>
|
|
</span>
|
|
|
|
break_components =
|
|
<div>
|
|
<Foo />
|
|
<Bar>
|
|
<p>foo<span>bar bar bar</span></p><h1><span><em>yep</em></span></h1>
|
|
</Bar>
|
|
<h2>nope</h2>
|
|
</div>
|
|
|
|
var x = <div>
|
|
hello <strong>hi</strong> <foo>sdkflsdfjk</foo>
|
|
</div>;
|
|
|
|
nest_plz =
|
|
<div>
|
|
<div>
|
|
<div></div>
|
|
</div>
|
|
</div>
|
|
|
|
regression_not_transformed_1 =
|
|
<span> <Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /></span>;
|
|
|
|
regression_not_transformed_2 =
|
|
<span><Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /> </span>;
|
|
|
|
similar_1 =
|
|
<span> <Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /></span>;
|
|
|
|
similar_2 =
|
|
<span><Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /> </span>;
|
|
|
|
similar_3 =
|
|
<span><Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /> <Icon icon="" /></span>;
|
|
|
|
not_broken_end =
|
|
<div>
|
|
long text long text long text long text long text long text long text long text <link>url</link> long text long text
|
|
</div>
|
|
|
|
not_broken_begin =
|
|
<div>
|
|
<br /> long text long text long text long text long text long text long text long text<link>url</link> long text long text
|
|
</div>
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
after = (
|
|
<span>
|
|
foo <span>bar</span>
|
|
</span>
|
|
);
|
|
|
|
before = (
|
|
<span>
|
|
<span>bar</span> foo
|
|
</span>
|
|
);
|
|
|
|
before_break1 = (
|
|
<span>
|
|
<span barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar />
|
|
{" "}foo
|
|
</span>
|
|
);
|
|
|
|
before_break2 = (
|
|
<span>
|
|
<span
|
|
barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar
|
|
/>
|
|
{" "}foo
|
|
</span>
|
|
);
|
|
|
|
after_break = (
|
|
<span>
|
|
foo
|
|
{" "}<span
|
|
barbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbarbar
|
|
/>
|
|
</span>
|
|
);
|
|
|
|
within = (
|
|
<span>
|
|
foo <span> bar </span>
|
|
</span>
|
|
);
|
|
|
|
break_components = (
|
|
<div>
|
|
<Foo />
|
|
<Bar>
|
|
<p>foo<span>bar bar bar</span></p><h1><span><em>yep</em></span></h1>
|
|
</Bar>
|
|
<h2>nope</h2>
|
|
</div>
|
|
);
|
|
|
|
var x = (
|
|
<div>
|
|
hello <strong>hi</strong> <foo>sdkflsdfjk</foo>
|
|
</div>
|
|
);
|
|
|
|
nest_plz = (
|
|
<div>
|
|
<div>
|
|
<div />
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
regression_not_transformed_1 = (
|
|
<span>
|
|
{" "}<Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" />
|
|
</span>
|
|
);
|
|
|
|
regression_not_transformed_2 = (
|
|
<span>
|
|
<Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" />
|
|
{" "}
|
|
</span>
|
|
);
|
|
|
|
similar_1 = (
|
|
<span>
|
|
{" "}<Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" />
|
|
</span>
|
|
);
|
|
|
|
similar_2 = (
|
|
<span>
|
|
<Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" />
|
|
{" "}
|
|
</span>
|
|
);
|
|
|
|
similar_3 = (
|
|
<span>
|
|
<Icon icon="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" /> <Icon icon="" />
|
|
</span>
|
|
);
|
|
|
|
not_broken_end = (
|
|
<div>
|
|
long text long text long text long text long text long text long text long
|
|
text <link>url</link> long text long text
|
|
</div>
|
|
);
|
|
|
|
not_broken_begin = (
|
|
<div>
|
|
<br /> long text long text long text long text long text long text long text
|
|
long text<link>url</link> long text long text
|
|
</div>
|
|
);
|
|
|
|
`;
|