test(input-amount): fix wrong locale

This commit is contained in:
Mathieu Puech 2020-06-24 09:42:21 -04:00
parent 8b2736f234
commit 13ba9dd615

View file

@ -153,7 +153,7 @@ describe('parseAmount()', () => {
it('parseAmount with locale set and length is more than four', () => { it('parseAmount with locale set and length is more than four', () => {
expect( expect(
parseAmount('6,000', { parseAmount('6,000', {
locale: 'gb-GB', locale: 'en-GB',
}), }),
).to.equal(6000); ).to.equal(6000);
expect( expect(