@@ -451,7 +451,7 @@ describe('Row Drag Tests #grid', () => {
451451
452452 const ghostText = document . getElementsByClassName ( CSS_CLASS_GHOST_ROW ) [ 0 ] . textContent ;
453453 expect ( ghostText ) . toEqual ( ' Moving a row! ' ) ;
454- const pointerUpEvent = UIInteractions . createPointerEvent ( 'pointerup' , dropPoint ) ;
454+ pointerUpEvent = UIInteractions . createPointerEvent ( 'pointerup' , dropPoint ) ;
455455 rowDragDirective . onPointerUp ( pointerUpEvent ) ;
456456 } ) ;
457457
@@ -484,7 +484,7 @@ describe('Row Drag Tests #grid', () => {
484484 const ghostText = document . getElementsByClassName ( CSS_CLASS_GHOST_ROW ) [ 0 ] . textContent ;
485485 expect ( ghostText . trim ( ) ) . toEqual ( 'CUSTOM' ) ;
486486
487- const pointerUpEvent = UIInteractions . createPointerEvent ( 'pointerup' , dropPoint ) ;
487+ pointerUpEvent = UIInteractions . createPointerEvent ( 'pointerup' , dropPoint ) ;
488488 rowDragDirective . onPointerUp ( pointerUpEvent ) ;
489489
490490 } ) ;
@@ -789,7 +789,7 @@ describe('Row Drag Tests #grid', () => {
789789
790790 const ghostElements = document . getElementsByClassName ( CSS_CLASS_GHOST_ROW ) ;
791791 const ghostElement = ghostElements [ 0 ] ;
792- expect ( ghostElements . length ) . toEqual ( 2 ) ;
792+ expect ( ghostElements . length ) . toEqual ( 1 ) ;
793793 expect ( ghostElement . classList . contains ( CSS_CLASS_SELECTED_ROW ) ) . toBeFalsy ( ) ;
794794
795795 pointerMoveEvent = UIInteractions . createPointerEvent ( 'pointermove' , dropPoint ) ;
0 commit comments