Skip to content

Test injection output #2482

@szokeasaurusrex

Description

@szokeasaurusrex

We have a few tests for sentry-cli sourcemaps inject, but these tests do not verify the injection behavior by checking that the files are modified as expected. We only check the command's stdout (which is arguably of little relevance) and the exit status code

This is a serious oversight, since we will fail to catch any unintended changes to how injection is performed.

Metadata

Metadata

Labels

CLIProduct area

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions