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: removeAllValues method in totalCost reset #11

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

DevVenusK
Copy link

Currently, totalCost is not initialized in removeAllValue. So I added the code and tests.

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (27e7509) 90.57% compared to head (d6faf5a) 90.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   90.57%   90.64%   +0.06%     
==========================================
  Files           1        1              
  Lines         138      139       +1     
==========================================
+ Hits          125      126       +1     
  Misses         13       13              

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

@nicklockwood
Copy link
Owner

Great catch - thanks!

@nicklockwood nicklockwood merged commit aa50bb3 into nicklockwood:main Jan 22, 2024
5 of 6 checks passed
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.

3 participants