deno/tests/specs/run/sourcemap_nonexistent_source/node_modules.ts
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
54 B
TypeScript

import { throwError } from "test-pkg";
throwError();