diff options
Diffstat (limited to 'tests/specs/run/node_globals_hints/filename.out')
-rw-r--r-- | tests/specs/run/node_globals_hints/filename.out | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/specs/run/node_globals_hints/filename.out b/tests/specs/run/node_globals_hints/filename.out new file mode 100644 index 000000000..47b4264fb --- /dev/null +++ b/tests/specs/run/node_globals_hints/filename.out @@ -0,0 +1,7 @@ +error: Uncaught (in promise) ReferenceError: __filename is not defined +__filename; +^ + at [WILDCARD]filename.js:1:1 + + info: __filename global is not available in ES modules. + hint: Use import.meta.filename instead. |