node/test/message/esm_display_syntax_error.out
Michaël Zasso 38ad285a2e
test: fix tests after V8 update
Adapt to changes in async stack traces and function name inference

PR-URL: https://github.com/nodejs/node/pull/25852
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
2019-03-14 18:51:27 +01:00

8 lines
294 B
Plaintext

(node:*) ExperimentalWarning: The ESM module loader is experimental.
file:///*/test/message/esm_display_syntax_error.mjs:3
await async () => 0;
^^^^^
SyntaxError: Unexpected reserved word
at internal/modules/esm/translators.js:*:*
at async link (internal/modules/esm/module_job.js:*:*)