mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +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%');
|
|
});
|
|
});
|