[Accessibility] Fix typo in parse number tests (#48644)
* Fix "seperator" typo * Add changelog file --------- Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>
This commit is contained in:
parent
4298e572c4
commit
099d0a63a0
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: tweak
|
||||||
|
|
||||||
|
Fix typos in parse number tests
|
|
@ -59,7 +59,7 @@ describe( 'parseNumber', () => {
|
||||||
expect( parseNumber( config, '12.345,679' ) ).toBe( '12345.679' );
|
expect( parseNumber( config, '12.345,679' ) ).toBe( '12345.679' );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
it( 'supports empty string as the thousandSeperator', () => {
|
it( 'supports empty string as the thousandSeparator', () => {
|
||||||
const config = {
|
const config = {
|
||||||
decimalSeparator: ',',
|
decimalSeparator: ',',
|
||||||
thousandSeparator: '',
|
thousandSeparator: '',
|
||||||
|
@ -68,7 +68,7 @@ describe( 'parseNumber', () => {
|
||||||
expect( parseNumber( config, '12345,679' ) ).toBe( '12345.679' );
|
expect( parseNumber( config, '12345,679' ) ).toBe( '12345.679' );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
it( 'supports empty string as the decimalSeperator', () => {
|
it( 'supports empty string as the decimalSeparator', () => {
|
||||||
const config = {
|
const config = {
|
||||||
decimalSeparator: '',
|
decimalSeparator: '',
|
||||||
thousandSeparator: ',',
|
thousandSeparator: ',',
|
||||||
|
|
Loading…
Reference in New Issue