1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 03:23:17 -05:00
denoland-deno/tests/specs/run/node_globals_hints/__test__.jsonc
Bartek Iwańczuk 484f8ca9c3
fix: provide hints in terminal errors for Node.js globals (#26610)
Add info/hint for terminal errors related to Node.js globals:
- __filename
- __dirname
- Buffer
- global
- setImmediate
- clearImmediate

Closes https://github.com/denoland/deno/issues/17494
2024-10-29 00:55:51 +01:00

34 lines
703 B
Text

{
"tests": {
"__dirname": {
"args": "run dirname.js",
"output": "dirname.out",
"exitCode": 1
},
"__filename": {
"args": "run filename.js",
"output": "filename.out",
"exitCode": 1
},
"clearImmediate": {
"args": "run clear_immediate.js",
"output": "clear_immediate.out",
"exitCode": 1
},
"buffer": {
"args": "run buffer.js",
"output": "buffer.out",
"exitCode": 1
},
"global": {
"args": "run global.js",
"output": "global.out",
"exitCode": 1
},
"setImmediate": {
"args": "run set_immediate.js",
"output": "set_immediate.out",
"exitCode": 1
}
}
}