chore: fix test and generate pkg-lock

This commit is contained in:
Thijs Louisse 2023-11-08 18:22:27 +01:00
parent ea803894ae
commit f601d59d77

View file

@ -293,11 +293,8 @@ Please specify .groupSeparator / .decimalSeparator on the formatOptions object t
expect(formatNumber(123456.789, currencyCode('USD'))).to.equal('USD 123,456.79'); expect(formatNumber(123456.789, currencyCode('USD'))).to.equal('USD 123,456.79');
expect(formatNumber(123456.789, currencyCode('JPY'))).to.equal('JPY 123,457'); expect(formatNumber(123456.789, currencyCode('JPY'))).to.equal('JPY 123,457');
expect(formatNumber(123456.789, currencySymbol('EUR'))).to.equal('€123,456.79'); expect(formatNumber(123456.789, currencySymbol('EUR'))).to.equal('€123,456.79');
if (!isSafari) {
// TODO: if inconsistency remains, write normalize fn for en-PH
expect(formatNumber(123456.789, currencySymbol('USD'))).to.equal('$123,456.79'); expect(formatNumber(123456.789, currencySymbol('USD'))).to.equal('$123,456.79');
expect(formatNumber(123456.789, currencySymbol('JPY'))).to.equal('¥123,457'); expect(formatNumber(123456.789, currencySymbol('JPY'))).to.equal('¥123,457');
}
}); });
}); });