128 lines
3.8 KiB
Plaintext
128 lines
3.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`last_line.js 1`] = `
|
|
====================================options=====================================
|
|
jsxBracketSameLine: true
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
<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>
|
|
|
|
=====================================output=====================================
|
|
<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`] = `
|
|
====================================options=====================================
|
|
jsxBracketSameLine: false
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
<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>
|
|
|
|
=====================================output=====================================
|
|
<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`] = `
|
|
====================================options=====================================
|
|
jsxBracketSameLine: true
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
<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>;
|
|
|
|
=====================================output=====================================
|
|
<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`] = `
|
|
====================================options=====================================
|
|
jsxBracketSameLine: false
|
|
parsers: ["flow", "typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
<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>;
|
|
|
|
=====================================output=====================================
|
|
<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>;
|
|
|
|
================================================================================
|
|
`;
|