From f4db64789063998e119816c9d3d570312edc32ea Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Mon, 8 Feb 2021 17:42:02 +0000 Subject: [PATCH] fix(tests): Update SSR error page snapshot (#29395) --- .../ssr/__tests__/__snapshots__/ssr.js.snap | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/integration-tests/ssr/__tests__/__snapshots__/ssr.js.snap b/integration-tests/ssr/__tests__/__snapshots__/ssr.js.snap index fb84baa33e754..7590380369c25 100644 --- a/integration-tests/ssr/__tests__/__snapshots__/ssr.js.snap +++ b/integration-tests/ssr/__tests__/__snapshots__/ssr.js.snap @@ -105,13 +105,13 @@ exports[`SSR it generates an error page correctly 1`] = `

error

window is not defined -
  2 | 
-  3 | const Component = () => {
-> 4 |   const a = window.width
-    |             ^
-  5 | 
-  6 |   return <div>hi</div>
-  7 | }
+
  2 |
+  3 | const Component = () => {
+> 4 |   const a = window.width
+    |             ^
+  5 |
+  6 |   return <div>hi</div>
+  7 | }

For help debugging SSR errors, see this docs page: https://www.gatsbyjs.com/docs/debugging-html-builds/

Skip SSR