@@ -2,7 +2,6 @@ import { Component, ViewChildren, QueryList, ViewChild, ElementRef, TemplateRef,
22import { TestBed , ComponentFixture , waitForAsync } from '@angular/core/testing' ;
33import { By } from '@angular/platform-browser' ;
44import { UIInteractions , wait } from '../../test-utils/ui-interactions.spec' ;
5- import { configureTestSuite } from '../../test-utils/configure-suite' ;
65import { first } from 'rxjs/operators' ;
76import { IgxInsertDropStrategy , IgxAppendDropStrategy , IgxPrependDropStrategy } from './drag-drop.strategy' ;
87import {
@@ -22,8 +21,7 @@ describe('General igxDrag/igxDrop', () => {
2221 let dropAreaRects = { top : 0 , left : 0 , right : 0 , bottom : 0 } ;
2322 let dragDirsRects = [ { top : 0 , left : 0 , right : 0 , bottom : 0 } ] ;
2423
25- configureTestSuite ( { checkLeaks : true } ) ;
26- beforeAll ( waitForAsync ( ( ) => {
24+ beforeEach ( waitForAsync ( ( ) => {
2725 TestBed . configureTestingModule ( {
2826 imports : [ TestDragDropComponent ]
2927 } )
@@ -1393,8 +1391,7 @@ describe('General igxDrag/igxDrop', () => {
13931391} ) ;
13941392
13951393describe ( 'Linked igxDrag/igxDrop ' , ( ) => {
1396- configureTestSuite ( ) ;
1397- beforeAll ( waitForAsync ( ( ) => {
1394+ beforeEach ( waitForAsync ( ( ) => {
13981395 TestBed . configureTestingModule ( {
13991396 imports : [
14001397 TestDragDropLinkedSingleComponent ,
@@ -1876,8 +1873,7 @@ describe('Linked igxDrag/igxDrop ', () => {
18761873} ) ;
18771874
18781875describe ( 'Nested igxDrag elements' , ( ) => {
1879- configureTestSuite ( ) ;
1880- beforeAll ( waitForAsync ( ( ) => {
1876+ beforeEach ( waitForAsync ( ( ) => {
18811877 TestBed . configureTestingModule ( {
18821878 imports : [ TestDragDropNestedComponent ]
18831879 } )
0 commit comments