diff options
Diffstat (limited to 'tests/specs/run/node_globals_hints/global.out')
-rw-r--r-- | tests/specs/run/node_globals_hints/global.out | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/run/node_globals_hints/global.out b/tests/specs/run/node_globals_hints/global.out new file mode 100644 index 000000000..ad01ac426 --- /dev/null +++ b/tests/specs/run/node_globals_hints/global.out @@ -0,0 +1,8 @@ +error: Uncaught (in promise) ReferenceError: global is not defined +global; +^ + at [WILDCARD]global.js:1:1 + + info: global is not available in the global scope in Deno. + hint: Use globalThis instead, or assign globalThis.global = globalThis, + or run again with --unstable-node-globals flag to add this global. |