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

96 lines
2.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`last_line.js 1`] = `
<SomeHighlyConfiguredComponent
onEnter={this.onEnter}
onLeave={this.onLeave}
onChange={this.onChange}
initialValue={this.state.initialValue}
ignoreStuff={true}
>
<div>and the children go here</div>
<div>and here too</div>
</SomeHighlyConfiguredComponent>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<SomeHighlyConfiguredComponent
onEnter={this.onEnter}
onLeave={this.onLeave}
onChange={this.onChange}
initialValue={this.state.initialValue}
ignoreStuff={true}>
<div>and the children go here</div>
<div>and here too</div>
</SomeHighlyConfiguredComponent>;
`;
exports[`last_line.js 2`] = `
<SomeHighlyConfiguredComponent
onEnter={this.onEnter}
onLeave={this.onLeave}
onChange={this.onChange}
initialValue={this.state.initialValue}
ignoreStuff={true}
>
<div>and the children go here</div>
<div>and here too</div>
</SomeHighlyConfiguredComponent>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<SomeHighlyConfiguredComponent
onEnter={this.onEnter}
onLeave={this.onLeave}
onChange={this.onChange}
initialValue={this.state.initialValue}
ignoreStuff={true}
>
<div>and the children go here</div>
<div>and here too</div>
</SomeHighlyConfiguredComponent>;
`;
exports[`single_prop_multiline_string.js 1`] = `
<path d="M4.765 16.829l3.069-2.946 5.813 5.748
11.33-11.232 3.006 3.18-14.36 14.080z" />;
<Component text="Text
with
newlines">Content</Component>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<path
d="M4.765 16.829l3.069-2.946 5.813 5.748
11.33-11.232 3.006 3.18-14.36 14.080z"
/>;
<Component
text="Text
with
newlines">
Content
</Component>;
`;
exports[`single_prop_multiline_string.js 2`] = `
<path d="M4.765 16.829l3.069-2.946 5.813 5.748
11.33-11.232 3.006 3.18-14.36 14.080z" />;
<Component text="Text
with
newlines">Content</Component>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<path
d="M4.765 16.829l3.069-2.946 5.813 5.748
11.33-11.232 3.006 3.18-14.36 14.080z"
/>;
<Component
text="Text
with
newlines"
>
Content
</Component>;
`;