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

chore: fix test coverage parsing bug #1131

Closed
wants to merge 1 commit into from
Closed

Conversation

nfischer
Copy link
Member

For some reason it seems like nyc v14 is incompatible with node v16/v18/v20. See this CI run as an example:
https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129

This updates nyc to v15 which should fix the issue.

Fixes #1130
Test: nvm use v16.20.2
Test: npm run test-with-coverage

For some reason it seems like `nyc` v14 is incompatible with node
v16/v18/v20. See this CI run as an example:
https://github.com/shelljs/shelljs/actions/runs/5956710281/job/16287478757?pr=1129

This updates `nyc` to v15 which should fix the issue.

Fixes #1130
Test: nvm use v16.20.2
Test: npm run test-with-coverage
@nfischer nfischer added chore fix Bug/defect, or a fix for such a problem labels Aug 28, 2023
@nfischer
Copy link
Member Author

I fixed this in #1139 instead. It's safe to close this.

@nfischer nfischer closed this Nov 12, 2023
@nfischer nfischer deleted the chore-fix-nyc-coverage branch November 12, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore fix Bug/defect, or a fix for such a problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test-with-coverage is broken on node v16
1 participant