remove trailing space

This commit is contained in:
Sara Taha
2020-03-13 05:15:08 +02:00
parent 112fd5616b
commit 70a818bff8

View File

@@ -10,7 +10,7 @@ describe('StringUtils', () => {
it('it should render 0', () => {
expect(f(0)).toBe('0.00');
});
it('it should render get rid of trailing zeros', () => {
expect(f(2104)).toBe('2.104k');
expect(f(21100)).toBe('21.1k');