deno/tests/specs/run/sourcemap_nonexistent_source/node_modules.out
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

3 lines
186 B
Text

error: Uncaught (in promise) Error: Test error from npm bundle with missing source
at throwError ([WILDCARD]node_modules/test-pkg/bundle.js:3:9)
at [WILDCARD]node_modules.ts:3:1