Newlines in fixtures (#6044)
* write newlines for fixtures * rerun fixtures
This commit is contained in:
@@ -14,4 +14,4 @@ export default class App extends React.Component {
|
||||
return _ref2;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,4 +17,4 @@ var _ref3 = <p>Parent</p>;
|
||||
{_ref3}
|
||||
<AppItem />
|
||||
</div>;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -18,4 +18,4 @@ var _ref3 = <p>Parent</p>;
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,4 +13,4 @@ const AppItem = () => {
|
||||
_ref = <div>
|
||||
<p>Parent</p>
|
||||
<AppItem />
|
||||
</div>;
|
||||
</div>;
|
||||
|
||||
@@ -9,4 +9,4 @@ export default {
|
||||
})();
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -21,4 +21,4 @@ class BugReport extends React.Component {
|
||||
return _ref;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ var _ref = <Loader className="full-height" />;
|
||||
var _ref2 = <Loader className="p-y-5" />;
|
||||
|
||||
const errorComesHere = () => _ref,
|
||||
thisWorksFine = () => _ref2;
|
||||
thisWorksFine = () => _ref2;
|
||||
|
||||
@@ -11,4 +11,4 @@ class AnchorLink extends Component {
|
||||
return <Link>{children}</Link>;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ var _ref2 = <div className="child">
|
||||
let Child = () => _ref2,
|
||||
_ref = <div className="parent">
|
||||
<Child />
|
||||
</div>;
|
||||
</div>;
|
||||
|
||||
@@ -13,4 +13,4 @@ function render() {
|
||||
_ref2 = <foo bar={bar} baz={baz} />;
|
||||
|
||||
return renderFoo();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ function render() {
|
||||
var _ref = <Component title={title} />;
|
||||
|
||||
return () => _ref;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ Child = HOC(Child);
|
||||
|
||||
var _ref = <div className="parent">
|
||||
<Child />
|
||||
</div>;
|
||||
</div>;
|
||||
|
||||
@@ -6,4 +6,4 @@ function render(flag) {
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ function fn(Component, obj) {
|
||||
_ref = <Component prop={data} />;
|
||||
|
||||
return () => _ref;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,4 @@ function render(_ref) {
|
||||
|
||||
// intentionally ignoring props
|
||||
return () => _ref2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ function render(_ref) {
|
||||
id = _ref.id,
|
||||
props = babelHelpers.objectWithoutProperties(_ref, ["text", "className", "id"]);
|
||||
return () => <Component text={text} className={className} id={id} {...props} />;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ function render() {
|
||||
return <div style={{
|
||||
width: 100
|
||||
}} />;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,3 @@ function render(offset) {
|
||||
return _ref;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -7,4 +7,3 @@ var Foo = React.createClass({
|
||||
return _ref;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@ var Foo = React.createClass({
|
||||
render: function () {
|
||||
return _ref;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -6,4 +6,4 @@ var Foo = React.createClass({
|
||||
render: function () {
|
||||
return _ref;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -5,4 +5,3 @@ var Foo = React.createClass({
|
||||
return _ref;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ class A {
|
||||
|
||||
export default class B {}
|
||||
|
||||
var _ref = React.createElement(B, null);
|
||||
var _ref = React.createElement(B, null);
|
||||
|
||||
@@ -7,4 +7,4 @@ class A {
|
||||
|
||||
export class B {}
|
||||
|
||||
var _ref = React.createElement(B, null);
|
||||
var _ref = React.createElement(B, null);
|
||||
|
||||
@@ -7,4 +7,3 @@ var Foo = React.createClass({
|
||||
return _ref;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@ function fn(Component) {
|
||||
_ref = <Component prop={data} />;
|
||||
|
||||
return () => _ref;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user