Skip to content

Commit

Permalink
fix(formatter): number format fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTelanie committed Dec 21, 2021
1 parent ff954af commit 8dbbe20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { formatNumber } from '../src/formatter';

describe('formatNumber test.', () => {
it('should format Number with default 4 decimals', () => {
assert.equal(formatNumber(0.00000001), '0.000000001');
assert.equal(formatNumber(0.00000001), '0.00000001');
assert.equal(formatNumber(0.00009998), '0.00009998');
assert.equal(formatNumber(0.00000000000000000001), '0.00000000000000000001');
assert.equal(formatNumber(0.0000000000000000000000000001), '0.0000000000000000000000000001');
Expand Down

0 comments on commit 8dbbe20

Please sign in to comment.