Skip to content

Commit

Permalink
test: update ts eval snapshots
Browse files Browse the repository at this point in the history
PR-URL: nodejs#56568
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
  • Loading branch information
marco-ippolito authored and nodejs-github-bot committed Jan 15, 2025
1 parent dd26064 commit e52440b
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 e52440b

Please sign in to comment.