sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

React Native sourcemaps listed under "Scripts" in `upload` output

Open szokeasaurusrex opened this issue 1 year ago • 0 comments

Environment

Latest, all systems

Steps to Reproduce

Run the tests/integration/_cases/react_native/xcode-upload-source-maps-release_and_dist_from_env.trycmd test, which currently specifies as its expected behavior that the ~/react-native-xcode-bundle.js.map should be listed under "Scripts." See the relevant portion of the expected output specified by the test here:

Source Map Upload Report
  Scripts
    ~/react-native-xcode-bundle.js.map
  Minified Scripts
    ~/react-native-xcode-bundle.js (sourcemap at react-native-xcode-bundle.map)

Expected Result

The test, as currently written, should fail because ~/react-native-xcode-bundle.js.map is a source map and should be listed under "Source Maps."

Actual Result

The test, as currently written, passes.

Next steps

Determine what the desired behavior is, update the code, and if needed, update the test case to correctly describe the desired behavior.

szokeasaurusrex avatar Mar 04 '24 08:03 szokeasaurusrex