Regenerate fixtures (#7120)
* Update line endings in test fixtures to match current output * Fix incorrectly set up static-property-tdz fixtures It seems the fixture runner does not look into subfolders. * Remove expected file that should not exist * Reenable disable optimisation test * Reenable disabled nbsp tests * Reenable comments between props test The comments adjacent to children test is still broken so it stays off.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class App extends React.Component {
|
||||
render() {
|
||||
const navbarHeader = <div className="navbar-header">
|
||||
<a className="navbar-brand" href="/">
|
||||
<img src="/img/logo/logo-96x36.png" />
|
||||
</a>
|
||||
</div>;
|
||||
|
||||
return <div>
|
||||
<nav className="navbar navbar-default">
|
||||
<div className="container">
|
||||
{navbarHeader}
|
||||
</div>
|
||||
</nav>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
var _ref = <div className="navbar-header">
|
||||
<a className="navbar-brand" href="/">
|
||||
<img src="/img/logo/logo-96x36.png" />
|
||||
</a>
|
||||
</div>;
|
||||
|
||||
let App =
|
||||
/*#__PURE__*/
|
||||
function (_React$Component) {
|
||||
babelHelpers.inherits(App, _React$Component);
|
||||
|
||||
function App() {
|
||||
babelHelpers.classCallCheck(this, App);
|
||||
return babelHelpers.possibleConstructorReturn(this, (App.__proto__ || Object.getPrototypeOf(App)).apply(this, arguments));
|
||||
}
|
||||
|
||||
babelHelpers.createClass(App, [{
|
||||
key: "render",
|
||||
value: function render() {
|
||||
const navbarHeader = _ref;
|
||||
return <div>
|
||||
<nav className="navbar navbar-default">
|
||||
<div className="container">
|
||||
{navbarHeader}
|
||||
</div>
|
||||
</nav>
|
||||
</div>;
|
||||
}
|
||||
}]);
|
||||
return App;
|
||||
}(React.Component);
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-react-constant-elements", "transform-classes", "syntax-jsx"]
|
||||
}
|
||||
Reference in New Issue
Block a user