@@ -242,7 +242,12 @@ describe('IgxChipsArea', () => {
242
242
return fix . whenStable ( ) ;
243
243
} ) . then ( ( ) => {
244
244
fix . detectChanges ( ) ;
245
- UIInteractions . simulatePointerEvent ( 'pointermove' , secondChip . dragDir [ '_dragGhost' ] , startingX + xDragDifference , startingY + yDragDifference ) ;
245
+ UIInteractions . simulatePointerEvent (
246
+ 'pointermove' ,
247
+ secondChip . dragDir [ '_dragGhost' ] ,
248
+ startingX + xDragDifference ,
249
+ startingY + yDragDifference
250
+ ) ;
246
251
247
252
setTimeout ( ( ) => {
248
253
const afterDragTop = secondChip . dragDir [ '_dragGhost' ] . getBoundingClientRect ( ) . top ;
@@ -282,7 +287,12 @@ describe('IgxChipsArea', () => {
282
287
return fix . whenStable ( ) ;
283
288
} ) . then ( ( ) => {
284
289
fix . detectChanges ( ) ;
285
- UIInteractions . simulatePointerEvent ( 'pointermove' , secondChip . dragDir [ '_dragGhost' ] , startingX + xDragDifference , startingY + yDragDifference ) ;
290
+ UIInteractions . simulatePointerEvent (
291
+ 'pointermove' ,
292
+ secondChip . dragDir [ '_dragGhost' ] ,
293
+ startingX + xDragDifference ,
294
+ startingY + yDragDifference
295
+ ) ;
286
296
fix . detectChanges ( ) ;
287
297
288
298
setTimeout ( ( ) => {
@@ -325,13 +335,23 @@ describe('IgxChipsArea', () => {
325
335
return fix . whenStable ( ) ;
326
336
} ) . then ( ( ) => {
327
337
fix . detectChanges ( ) ;
328
- UIInteractions . simulatePointerEvent ( 'pointermove' , secondChip . dragDir [ '_dragGhost' ] , startingX + xDragDifference , startingY + yDragDifference ) ;
338
+ UIInteractions . simulatePointerEvent (
339
+ 'pointermove' ,
340
+ secondChip . dragDir [ '_dragGhost' ] ,
341
+ startingX + xDragDifference ,
342
+ startingY + yDragDifference
343
+ ) ;
329
344
fix . detectChanges ( ) ;
330
345
331
346
return fix . whenRenderingDone ( ) ;
332
347
} ) . then ( ( ) => {
333
348
expect ( firstChip . nativeElement . children [ 1 ] . style . visibility ) . toEqual ( 'hidden' ) ;
334
- UIInteractions . simulatePointerEvent ( 'pointerup' , secondChip . dragDir [ '_dragGhost' ] , startingX + xDragDifference , startingY + yDragDifference ) ;
349
+ UIInteractions . simulatePointerEvent (
350
+ 'pointerup' ,
351
+ secondChip . dragDir [ '_dragGhost' ] ,
352
+ startingX + xDragDifference ,
353
+ startingY + yDragDifference
354
+ ) ;
335
355
return fix . whenRenderingDone ( ) ;
336
356
} ) . then ( ( ) => {
337
357
expect ( firstChip . nativeElement . children [ 1 ] . style . visibility ) . toEqual ( 'visible' ) ;
0 commit comments