Skip to content

Commit

Permalink
fixed approximate test
Browse files Browse the repository at this point in the history
  • Loading branch information
ernest-okot committed Sep 25, 2017
1 parent 3f8dc3d commit 5d64993
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/approximate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ const { it } = mocha;
const { describe } = mocha;

describe('approximate', () => {
it('should round off and format values', () => {
const formatted = approximate(6422108692);
expect(formatted).to.equal('6.42bn');
});
it('should round off to two or less decimal places', () => {
expect(approximate(6472108692)).to.equal('6.5bn');
expect(approximate(6400000000)).to.equal('6.4bn');
Expand Down

0 comments on commit 5d64993

Please sign in to comment.