diff --git a/print/core/filters/specs/number.spec.js b/print/core/filters/specs/number.spec.js index 72d5de0c5..a0e1e8d9b 100644 --- a/print/core/filters/specs/number.spec.js +++ b/print/core/filters/specs/number.spec.js @@ -1,10 +1,9 @@ import number from '../number.js'; -// Issue #2437 -xdescribe('number filter', () => { +describe('number filter', () => { const superDuperNumber = 18021984; it('should filter the number with commas by default', () => { - expect(number(superDuperNumber)).toEqual('18,021,984'); + expect(number(superDuperNumber, 'en')).toEqual('18,021,984'); }); }); diff --git a/print/core/filters/specs/percentage.spec.js b/print/core/filters/specs/percentage.spec.js index af037abb6..ae3c1c183 100644 --- a/print/core/filters/specs/percentage.spec.js +++ b/print/core/filters/specs/percentage.spec.js @@ -1,12 +1,11 @@ import percentage from '../percentage.js'; -// Issue #2437 -xdescribe('percentage filter', () => { +describe('percentage filter', () => { it('should filter the percentage also round it correctly', () => { - expect(percentage(99.9999999999999999 / 100)).toEqual('100.00%'); + expect(percentage(99.9999999999999999 / 100, 2, 2, 'en')).toEqual('100.00%'); }); it('should filter the percentage and round it correctly', () => { - expect(percentage(1.25444444444444444 / 100)).toEqual('1.25%'); + expect(percentage(1.25444444444444444 / 100, 2, 2, 'en')).toEqual('1.25%'); }); });