Skip to content

Commit

Permalink
test(sourcemaps): add integration test for external, full sourcemap URL
Browse files Browse the repository at this point in the history
  • Loading branch information
brettdh committed Nov 30, 2023
1 parent b27e220 commit 7374c4f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration/_cases/sourcemaps/sourcemaps-inject.trycmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
$ sentry-cli sourcemaps inject ./server ./static
? success
> Searching ./server
> Found 12 files
> Found 14 files
> Searching ./static
> Found 8 files
> Analyzing 20 sources
> Analyzing 22 sources
> Injecting debug ids

Source Map Debug ID Injection Report
Modified: The following source files have been modified to have debug ids
[..]-[..]-[..]-[..]-[..] - ./server/app/page.js
[..]-[..]-[..]-[..]-[..] - ./server/chunks/1.js
[..]-[..]-[..]-[..]-[..] - ./server/dummy_embedded.js
[..]-[..]-[..]-[..]-[..] - ./server/dummy_hosted.js
[..]-[..]-[..]-[..]-[..] - ./server/flight-manifest.js
[..]-[..]-[..]-[..]-[..] - ./server/pages/_document.js
[..]-[..]-[..]-[..]-[..] - ./server/pages/api/hello.js
Expand All @@ -21,6 +22,7 @@ Source Map Debug ID Injection Report
[..]-[..]-[..]-[..]-[..] - ./static/chunks/app/head-172ad45600676c06.js
[..]-[..]-[..]-[..]-[..] - ./static/chunks/pages/asdf-05b39167abbe433b.js
Modified: The following sourcemap files have been modified to have debug ids
[..]-[..]-[..]-[..]-[..] - ./server/dummy_hosted.js.map
[..]-[..]-[..]-[..]-[..] - ./server/pages/_document.js.map
[..]-[..]-[..]-[..]-[..] - ./static/chunks/575-bb7d7e0e6de8d623.js.map
Ignored: The following source files already have debug ids
Expand Down
1 change: 1 addition & 0 deletions tests/integration/_fixtures/inject/server/dummy_hosted.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions tests/integration/_fixtures/inject/server/dummy_hosted.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7374c4f

Please sign in to comment.