-
Notifications
You must be signed in to change notification settings - Fork 5.9k
feat(testing): add test for src/node/constants.ts #3290
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
Conversation
f6b2be2
to
bcb98a6
Compare
bcb98a6
to
027106a
Compare
Codecov Report
@@ Coverage Diff @@
## main #3290 +/- ##
==========================================
- Coverage 57.54% 56.95% -0.59%
==========================================
Files 24 35 +11
Lines 1279 1703 +424
Branches 290 374 +84
==========================================
+ Hits 736 970 +234
- Misses 441 583 +142
- Partials 102 150 +48
Continue to review full report at Codecov.
|
7f41e45
to
7870c0b
Compare
We were accidentally ignoring `node/routes` because we had "out" instead of "/out" in `coveragePathIgnorePatterns` which caused us to not collect coverage for those files. Now we do.
c8ed585
to
cb5ab48
Compare
This PR adds additional testing for
src/node/constants.ts
, specifically checking that bothcommit
andversion
return the correct values when defined in and missing frompackage.json
.coveragePathIgnorePatterns
to/out
(so that we collect coverage forsrc/node/routes
src/node/constants.ts
Screenshot