From 0671415f3e123a03c4d9e02f5d4ecb50c184e2c8 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 4 Oct 2024 09:23:11 +0200 Subject: [PATCH] update snap --- e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap b/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap index 04ec0a8ad507..1b5090ad5e09 100644 --- a/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap +++ b/e2e/__tests__/__snapshots__/wrongEnv.test.ts.snap @@ -83,15 +83,15 @@ exports[`Wrong globals for environment print useful error for window 1`] = ` ReferenceError: window is not defined - 22 | 23 | test('use window', () => { - > 24 | const location = window.location; + 24 | // eslint-disable-next-line unicorn/prefer-global-this + > 25 | const location = window.location; | ^ - 25 | - 26 | console.log(location); - 27 | + 26 | + 27 | console.log(location); + 28 | - at Object.window (__tests__/node.js:24:20)" + at Object.window (__tests__/node.js:25:20)" `; exports[`Wrong globals for environment print useful error when it explodes during evaluation 1`] = `