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