Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't crash when seeing -1 in code cov #11131

Merged
merged 6 commits into from
May 17, 2024
Merged

fix: don't crash when seeing -1 in code cov #11131

merged 6 commits into from
May 17, 2024

Conversation

paperdave
Copy link
Collaborator

@paperdave paperdave commented May 17, 2024

What does this PR do?

Fixes #10836
Fixes #10621
Fixes #10395
Fixes #9681
Fixes #10501

Does not fix already existing cases where code coverage reports less than 100% of functions when 100% of the lines are executed.

@Jarred-Sumner
Copy link
Collaborator

Great, but needs tests.

}`,
});
const result = Bun.spawnSync([bunExe(), "test", "--coverage"], {
cwd: dir,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cwd: dir,
cwd: dir,
stdio: ['inherit', 'inherit', 'inherit'],

@Jarred-Sumner Jarred-Sumner merged commit 4e714ae into main May 17, 2024
17 of 23 checks passed
@Jarred-Sumner Jarred-Sumner deleted the dave/codecov branch May 17, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment