File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ await describe('string-to-numeric', async () => {
77 await it ( 'Converts simple strings into numeric values' , ( ) => {
88 assert . strictEqual ( stringToNumeric ( '33' ) , 33 ) ;
99 assert . strictEqual ( stringToNumeric ( '1.1' ) , 1.1 ) ;
10+ assert . strictEqual ( stringToNumeric ( '5e+2' ) , 500 ) ;
1011 } ) ;
1112 await it ( 'Converts strings with thousands separators into numeric values' , ( ) => {
1213 assert . strictEqual ( stringToNumeric ( '1,234.1' ) , 1234.1 ) ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ await describe('string-to-numeric', async () => {
1010 await it ( 'Converts simple strings into numeric values' , ( ) => {
1111 assert . strictEqual ( stringToNumeric ( '33' ) , 33 )
1212 assert . strictEqual ( stringToNumeric ( '1.1' ) , 1.1 )
13+ assert . strictEqual ( stringToNumeric ( '5e+2' ) , 500 )
1314 } )
1415
1516 await it ( 'Converts strings with thousands separators into numeric values' , ( ) => {
You can’t perform that action at this time.
0 commit comments