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

100% test coverage #89

Merged
merged 4 commits into from
Sep 12, 2024
Merged

100% test coverage #89

merged 4 commits into from
Sep 12, 2024

Conversation

nicknovitski
Copy link
Member

@nicknovitski nicknovitski commented Sep 11, 2024

I noticed that with the codecov action broken, coverage had dropped without us noticing (#88), but not very far. It was easy to bring it back and add a threshold to keep it there.

@nicknovitski nicknovitski changed the title Use node:zlib.gzipSync directly 100% test coverage Sep 11, 2024
@nicknovitski nicknovitski marked this pull request as ready for review September 11, 2024 19:42
@nicknovitski nicknovitski requested a review from a team as a code owner September 11, 2024 19:42
@nicknovitski nicknovitski requested review from vonovak and removed request for a team September 11, 2024 19:42
This is useful for testing, and potentially useful with slow network
conditions.
After running `jest --coverage`, this directory contains `.js` files,
which the compiler will attempt to check, and even build.
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c919973) to head (bf9cddd).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #89      +/-   ##
===========================================
+ Coverage   98.29%   100.00%   +1.70%     
===========================================
  Files           2         2              
  Lines         176       168       -8     
  Branches       36        32       -4     
===========================================
- Hits          173       168       -5     
+ Misses          2         0       -2     
+ Partials        1         0       -1     
Flag Coverage Δ
node_18 100.00% <100.00%> (+1.70%) ⬆️
node_20 100.00% <100.00%> (+1.70%) ⬆️
node_22 100.00% <100.00%> (+1.70%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nicknovitski nicknovitski merged commit cd0a36e into main Sep 12, 2024
6 checks passed
@nicknovitski nicknovitski deleted the gzip-sync branch September 12, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants