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