diff --git a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap index 93c7fb612..003fc67ca 100644 --- a/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap +++ b/src/components/Html/__tests__/__snapshots__/aphrodite.js.snap @@ -23,6 +23,13 @@ exports[`test should render Html component with aphrodite styles when possible 1 +
- diff --git a/src/components/Html/__tests__/__snapshots__/glamor.js.snap b/src/components/Html/__tests__/__snapshots__/glamor.js.snap index 576ba10f6..74533eaf8 100644 --- a/src/components/Html/__tests__/__snapshots__/glamor.js.snap +++ b/src/components/Html/__tests__/__snapshots__/glamor.js.snap @@ -22,6 +22,13 @@ exports[`test should render Html component with glamor styles when possible 1`] + - diff --git a/src/components/Html/index.js b/src/components/Html/index.js index 3ce20ec6d..160ff14cf 100644 --- a/src/components/Html/index.js +++ b/src/components/Html/index.js @@ -100,11 +100,11 @@ const Html = (props: Props) => { )) } + { head.script.toComponent() } { props.renderScript() } - { head.script.toComponent() } { props.js.map((file, i) => ( diff --git a/src/static/__tests__/url-as-html.js b/src/static/__tests__/url-as-html.js index b5f1f0dcc..66dd4c5ab 100644 --- a/src/static/__tests__/url-as-html.js +++ b/src/static/__tests__/url-as-html.js @@ -193,6 +193,7 @@ test("custom script tags", async (t) => { + @@ -221,7 +222,6 @@ test("custom script tags", async (t) => { } } -