deno/tests/specs/run/sourcemap_nonexistent_source/__test__.jsonc
Felipe Cardozo efea61e1bc
tests: update sourcemap tests for npm-only source existence check (#31601)
Update the sourcemap_nonexistent_source test expectation to reflect that
source file existence is only checked for npm packages (for
performance).

Add sourcemap_npm_nonexistent_source test to cover the npm package case
where source maps reference non-existent files and should fall back to
showing the bundle file path in stack traces.
2025-12-15 19:21:01 -03:00

14 lines
289 B
JSON

{
"tests": {
"node_modules": {
"args": "run --allow-read node_modules.ts",
"output": "node_modules.out",
"exitCode": 1
},
"not_node_modules": {
"args": "run not_node_modules.js",
"output": "not_node_modules.out",
"exitCode": 1
}
}
}