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