diff --git a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-components/expected.js b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-components/expected.js index ad2ed9f4e5..9dd292a902 100644 --- a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-components/expected.js +++ b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-components/expected.js @@ -4,6 +4,7 @@ key: null, ref: null, props: babelHelpers.defaultProps(Foo.defaultProps, { + className: "foo", children: [bar, { $$typeof: babelHelpers.typeofReactElement, type: Baz, @@ -11,8 +12,7 @@ ref: null, props: babelHelpers.defaultProps(Baz.defaultProps, {}), _owner: null - }], - className: "foo" + }] }), _owner: null -}); \ No newline at end of file +}); diff --git a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-html-elements/expected.js b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-html-elements/expected.js index 729c3ca5d3..182d87c4a3 100644 --- a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-html-elements/expected.js +++ b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested-html-elements/expected.js @@ -4,8 +4,8 @@ key: null, ref: null, props: { - children: bar, - className: "foo" + className: "foo", + children: bar }, _owner: null -}); \ No newline at end of file +}); diff --git a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested/expected.js b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested/expected.js index c95b63f592..24cea8512c 100644 --- a/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested/expected.js +++ b/packages/babel-core/test/fixtures/transformation/optimisation.react.inline-elements/nested/expected.js @@ -4,6 +4,7 @@ key: null, ref: null, props: { + className: "foo", children: [bar, { $$typeof: babelHelpers.typeofReactElement, type: Baz, @@ -11,8 +12,7 @@ ref: null, props: babelHelpers.defaultProps(Baz.defaultProps, {}), _owner: null - }], - className: "foo" + }] }, _owner: null -}); \ No newline at end of file +});