Skip to content

chore(util): add price formatter util for net prices - #1545

Merged
wneessen merged 3 commits into
mainfrom
net-price-util
Nov 17, 2026
Merged

wneessen merged 3 commits into
mainfrom
net-price-util

Conversation

@wneessen

Copy link
Copy Markdown
Contributor
  • Adds an equivalent to util.GrossPrice for net prices
  • Updated test to cover both functions

- Adds an equivalent to `util.GrossPrice` for net prices
- Updated test to cover both functions
@wneessen
wneessen requested a review from a team as a code owner November 17, 2026 09:42
@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.60%. Comparing base (b30290d) to head (8c20b6b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1545   +/-   ##
=======================================
  Coverage   79.60%   79.60%           
=======================================
  Files         305      305           
  Lines        9793     9794    +1     
=======================================
+ Hits         7796     7797    +1     
  Misses       1997     1997           
Flag Coverage Δ
e2e 55.15% <66.66%> (-0.01%) ⬇️
unit 74.21% <100.00%> (+<0.01%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread internal/cmd/util/util.go Resolved
@jooola

jooola commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

This is not really relevant for the users, so to prevent this commit entry from showing up in the changelog, I propose to change the title to use chore or refactor.

@wneessen wneessen changed the title feat(util): add price formatter util for net prices chore(util): add price formatter util for net prices Nov 17, 2026
wneessen and others added 2 commits November 17, 2026 11:11
@wneessen
wneessen merged commit 2e58530 into main Nov 17, 2026
8 checks passed
@wneessen
wneessen deleted the net-price-util branch November 17, 2026 11:05
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