Skip to content

Commit

Permalink
Update number.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
navFooh committed Sep 10, 2024
1 parent cb4cd7b commit 9109bd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/filecoin-number/src/__tests__/number.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,13 @@ describe('FilecoinNumber', () => {

// Less then 1000
expect(new FilecoinNumber('-1.23456789', 'fil').formatBalance()).toEqual(
'-1.234 FIL'
'-1.23 FIL'
)
expect(new FilecoinNumber('-12.3456789', 'fil').formatBalance()).toEqual(
'-12.345 FIL'
'-12.34 FIL'
)
expect(new FilecoinNumber('-123.456789', 'fil').formatBalance()).toEqual(
'-123.456 FIL'
'-123.45 FIL'
)

// Thousands
Expand Down

0 comments on commit 9109bd6

Please sign in to comment.