frequi_origin/tests/unit/formatters.spec.ts
2021-12-18 14:09:47 +01:00

8 lines
190 B
TypeScript

import { formatPercent } from '@/shared/formatters';
describe('formatters.ts', () => {
it('Format percent correctly', () => {
expect(formatPercent(0.5)).toEqual('50.000%');
});
});