1515// specific language governing permissions and limitations
1616// under the License.
1717
18- import Arrow , {
19- } from '../Arrow' ;
18+ import Arrow from '../Arrow' ;
2019
2120const {
2221 col,
@@ -25,7 +24,7 @@ const {
2524
2625describe ( `Table` , ( ) => {
2726 test ( `can create an empty table` , ( ) => {
28- expect ( Table . empty ( ) . length ) . toEqual ( 0 )
27+ expect ( Table . empty ( ) . length ) . toEqual ( 0 ) ;
2928 } ) ;
3029
3130 describe ( `single record batch` , ( ) => {
@@ -147,7 +146,7 @@ describe(`Table`, () => {
147146 test ( `scans expected values` , ( ) => {
148147 let expected_idx = 0 ;
149148 table . scan ( ( idx , batch ) => {
150- const columns = batch . schema . fields . map ( ( _ , i ) => batch . getChildAt ( i ) ) ;
149+ const columns = batch . schema . fields . map ( ( _ , i ) => batch . getChildAt ( i ) ! ) ;
151150 expect ( columns . map ( ( c ) => c . get ( idx ) ) ) . toEqual ( values [ expected_idx ++ ] ) ;
152151 } ) ;
153152 } ) ;
@@ -353,7 +352,7 @@ describe(`Table`, () => {
353352 test ( `scans expected values` , ( ) => {
354353 let expected_idx = 0 ;
355354 table . scan ( ( idx , batch ) => {
356- const columns = batch . schema . fields . map ( ( _ , i ) => batch . getChildAt ( i ) ) ;
355+ const columns = batch . schema . fields . map ( ( _ , i ) => batch . getChildAt ( i ) ! ) ;
357356 expect ( columns . map ( ( c ) => c . get ( idx ) ) ) . toEqual ( values [ expected_idx ++ ] ) ;
358357 } ) ;
359358 } ) ;
0 commit comments