From 13a1089cb4413cfe7dd8a73a43404a6a0a62eccc Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Mon, 13 Jan 2025 11:43:35 +0100 Subject: [PATCH] test: update ts eval snapshots PR-URL: https://github.com/nodejs/node/pull/56568 Reviewed-By: Rafael Gonzaga Reviewed-By: Marco Ippolito Reviewed-By: Jacob Smith Reviewed-By: Pietro Marchini Reviewed-By: Paolo Insogna --- test/fixtures/eval/eval_messages.snapshot | 3 --- test/fixtures/eval/eval_typescript.snapshot | 3 --- test/fixtures/eval/stdin_messages.snapshot | 3 --- test/fixtures/eval/stdin_typescript.snapshot | 6 ------ 4 files changed, 15 deletions(-) diff --git a/test/fixtures/eval/eval_messages.snapshot b/test/fixtures/eval/eval_messages.snapshot index 4a29e96f9c0973..bed167424483a1 100644 --- a/test/fixtures/eval/eval_messages.snapshot +++ b/test/fixtures/eval/eval_messages.snapshot @@ -8,9 +8,6 @@ with(this){__filename} : ^^^^ `---- -Caused by: - failed to parse - SyntaxError: Strict mode code may not include a with statement Node.js * diff --git a/test/fixtures/eval/eval_typescript.snapshot b/test/fixtures/eval/eval_typescript.snapshot index b10f8d6a910e4f..074e966e51e0f5 100644 --- a/test/fixtures/eval/eval_typescript.snapshot +++ b/test/fixtures/eval/eval_typescript.snapshot @@ -43,9 +43,6 @@ function foo(){ await Promise.resolve(1)}; : ^^^^^^^ `---- -Caused by: - failed to parse - SyntaxError: await is only valid in async functions and the top level bodies of modules Node.js * diff --git a/test/fixtures/eval/stdin_messages.snapshot b/test/fixtures/eval/stdin_messages.snapshot index c2f33ba8475d07..66bd506f758ca9 100644 --- a/test/fixtures/eval/stdin_messages.snapshot +++ b/test/fixtures/eval/stdin_messages.snapshot @@ -8,9 +8,6 @@ with(this){__filename} : ^^^^ `---- -Caused by: - failed to parse - SyntaxError: Strict mode code may not include a with statement Node.js * diff --git a/test/fixtures/eval/stdin_typescript.snapshot b/test/fixtures/eval/stdin_typescript.snapshot index ccae9c38ee75e0..3e209e6db2973a 100644 --- a/test/fixtures/eval/stdin_typescript.snapshot +++ b/test/fixtures/eval/stdin_typescript.snapshot @@ -79,9 +79,6 @@ function foo(){ await Promise.resolve(1)}; : ^^^^^^^ `---- -Caused by: - failed to parse - SyntaxError: await is only valid in async functions and the top level bodies of modules Node.js * @@ -94,9 +91,6 @@ function foo(){ await Promise.resolve(1)}; : ^^^^^^^ `---- -Caused by: - failed to parse - SyntaxError: await is only valid in async functions and the top level bodies of modules Node.js *