Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shan8851 committed Feb 24, 2025
1 parent 659212f commit a485c3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/utils/formatterUtils/formatterUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,11 @@ describe('formatter utils', () => {
test.each([
{ value: -1234, result: '-1.23K' },
{ value: -1234, result: '-1,23K', locale: 'it' },
{ value: -0.0012, result: '-0' },
{ value: -0.005, result: '-0.01' },
{ value: -0.0012, result: '-0.00' },
{ value: 0, result: '0' },
{ value: 0.0012, result: '0' },
{ value: 0.0012, result: '0.00' },
{ value: 0.005, result: '0.01' },
{ value: 0.0123456789012345678, result: '0.01' },
{ value: 0.12345678901234567, result: '0.12' },
{ value: 123.4567, result: '123.46' },
Expand Down

0 comments on commit a485c3c

Please sign in to comment.