Skip to content

Commit

Permalink
test: update ts eval snapshots
Browse files Browse the repository at this point in the history
PR-URL: #56568
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: Pietro Marchini <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
  • Loading branch information
marco-ippolito authored and aduh95 committed Jan 30, 2025
1 parent 0657f62 commit 7e58da6
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions test/fixtures/eval/eval_messages.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ with(this){__filename}
: ^^^^
`----

Caused by:
failed to parse

SyntaxError: Strict mode code may not include a with statement

Node.js *
Expand Down
3 changes: 0 additions & 3 deletions test/fixtures/eval/eval_typescript.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
3 changes: 0 additions & 3 deletions test/fixtures/eval/stdin_messages.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ with(this){__filename}
: ^^^^
`----

Caused by:
failed to parse

SyntaxError: Strict mode code may not include a with statement

Node.js *
Expand Down
6 changes: 0 additions & 6 deletions test/fixtures/eval/stdin_typescript.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand All @@ -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 *
Expand Down

0 comments on commit 7e58da6

Please sign in to comment.