mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
8 lines
190 B
TypeScript
8 lines
190 B
TypeScript
|
import { formatPercent } from '@/shared/formatters';
|
||
|
|
||
|
describe('formatters.ts', () => {
|
||
|
it('Format percent correctly', () => {
|
||
|
expect(formatPercent(0.5)).toEqual('50.000%');
|
||
|
});
|
||
|
});
|