Skip to content

Commit

Permalink
test: fix fixtures error lines
Browse files Browse the repository at this point in the history
  • Loading branch information
trevnorris committed Nov 30, 2023
1 parent 56bf887 commit 7b24279
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(node:*) UnhandledPromiseRejectionWarning: Error: alas
(nsolid:*) UnhandledPromiseRejectionWarning: Error: alas
at *
at *
at *
at *
at *
at *
at *
(Use `node --trace-warnings ...` to show where the warning was created)
(node:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:*nodejs.org*api*cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(Use `nsolid --trace-warnings ...` to show where the warning was created)
(nsolid:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:*nodejs.org*api*cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
throw { * eslint-disable-line no-throw-literal
^
[object Object]
(Use `node --trace-uncaught ...` to show where the exception was thrown)
(Use `nsolid --trace-uncaught ...` to show where the exception was thrown)

Node.js *
2 changes: 1 addition & 1 deletion test/fixtures/errors/throw_null.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
throw null;
^
null
(Use `node --trace-uncaught ...` to show where the exception was thrown)
(Use `nsolid --trace-uncaught ...` to show where the exception was thrown)

Node.js *
2 changes: 1 addition & 1 deletion test/fixtures/errors/throw_undefined.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
throw undefined;
^
undefined
(Use `node --trace-uncaught ...` to show where the exception was thrown)
(Use `nsolid --trace-uncaught ...` to show where the exception was thrown)

Node.js *
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(node:*) UnhandledPromiseRejectionWarning: Error: This was rejected
(nsolid:*) UnhandledPromiseRejectionWarning: Error: This was rejected
at *
at *
at *
Expand All @@ -9,15 +9,15 @@
at *
at *
at *
(node:*) Error: This was rejected
(nsolid:*) Error: This was rejected
at *
at *
at *
at *
at *
at *
at *
(node:*) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(nsolid:*) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
at *
at *
at Promise.then (<anonymous>)
Expand Down

0 comments on commit 7b24279

Please sign in to comment.