diff --git a/libs/common/src/lib/helper.spec.ts b/libs/common/src/lib/helper.spec.ts index 654b537cb2..d33f104522 100644 --- a/libs/common/src/lib/helper.spec.ts +++ b/libs/common/src/lib/helper.spec.ts @@ -29,10 +29,6 @@ describe('Helper', () => { ); }); - it('Get decimal number (with hyphenated text)', () => { - expect(extractNumberFromString({ value: 'BRK-B 425.30' })).toEqual(425.3); - }); - it('Get decimal number (comma notation)', () => { expect( extractNumberFromString({ locale: 'de-DE', value: '999,99' }) @@ -63,6 +59,10 @@ describe('Helper', () => { ).toEqual(999.99); }); + it('Get decimal number (with hyphenated text)', () => { + expect(extractNumberFromString({ value: 'BRK-B 425.30' })).toEqual(425.3); + }); + it('Not a number', () => { expect(extractNumberFromString({ value: 'X' })).toEqual(NaN); });