-
Notifications
You must be signed in to change notification settings - Fork 116
chore(test): migrate to node:test
#670
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Interesting. |
Probably related to nodejs/node#46674 |
I am pretty sure it is since node 16 is lacking many features of the test runner, |
I was able to run on all three node versions in my branch: |
Co-authored-by: Moshe Atlow <moshe@atlow.co.il>
@aduh95 the tests pass but coverage can only be collected on node >= 18 |
I think it might be a fair mitigation to run tests without coverage on node 16 |
It looks like there are a few test failures on v18.x and v19.x though |
yeah since |
@aduh95 this should work: aduh95@d7ea450 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #670 +/- ##
==========================================
+ Coverage 83.40% 83.45% +0.04%
==========================================
Files 37 37
Lines 4146 4146
==========================================
+ Hits 3458 3460 +2
+ Misses 688 686 -2 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
For some reason, CI picks up v18.15.0 only on Windows 🤔 |
@aduh95 seems like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@aduh95 this requires amending the commit message(s) |
No it doesn't, the title of the PR (which is what GitHub uses as the default commit message) is complying with Conventional Commit spec. |
so this check should be fixed to only look at the PR name? https://github.com/nodejs/node-core-utils/actions/runs/4430791079/jobs/7772963001?pr=670 |
The issue is that some PR are being "Rebase and merge"d, in which case it makes sense to check every commits. |
No description provided.