mirror of
https://github.com/ceph/ceph
synced 2025-01-18 09:02:08 +00:00
mgr/dashboard: Fix formatter service unit test
Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
parent
f21df7672d
commit
5058ff9607
@ -68,7 +68,7 @@ describe('FormatterService', () => {
|
||||
});
|
||||
|
||||
it('should test some dimless values', () => {
|
||||
expect(dimlessPipe.transform(0.6)).toBe('0.6 ');
|
||||
expect(dimlessPipe.transform(0.6)).toBe('0.6');
|
||||
expect(dimlessPipe.transform(1000.608)).toBe('1.0006k');
|
||||
expect(dimlessPipe.transform(1e10)).toBe('10G');
|
||||
expect(dimlessPipe.transform(2.37e16)).toBe('23.7P');
|
||||
|
Loading…
Reference in New Issue
Block a user