@@ -23,17 +23,21 @@ describe('IgxHierarchicalGrid Navigation', () => {
2323 let baseHGridContent : DebugElement ;
2424 configureTestSuite ( ) ;
2525
26+ beforeAll ( waitForAsync ( ( ) => {
27+ TestBed . configureTestingModule ( {
28+ declarations : [
29+ IgxHierarchicalGridTestBaseComponent ,
30+ IgxHierarchicalGridTestComplexComponent ,
31+ IgxHierarchicalGridMultiLayoutComponent ,
32+ IgxHierarchicalGridSmallerChildComponent
33+ ] ,
34+ imports : [
35+ NoopAnimationsModule , IgxHierarchicalGridModule
36+ ]
37+ } ) . compileComponents ( ) ;
38+ } ) ) ;
39+
2640 describe ( 'IgxHierarchicalGrid Basic Navigation #hGrid' , ( ) => {
27- beforeAll ( waitForAsync ( ( ) => {
28- TestBed . configureTestingModule ( {
29- declarations : [
30- IgxHierarchicalGridTestBaseComponent
31- ] ,
32- imports : [
33- NoopAnimationsModule , IgxHierarchicalGridModule
34- ]
35- } ) . compileComponents ( ) ;
36- } ) ) ;
3741
3842 beforeEach ( waitForAsync ( ( ) => {
3943 fixture = TestBed . createComponent ( IgxHierarchicalGridTestBaseComponent ) ;
@@ -630,16 +634,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
630634
631635
632636 describe ( 'IgxHierarchicalGrid Complex Navigation #hGrid' , ( ) => {
633- beforeAll ( waitForAsync ( ( ) => {
634- TestBed . configureTestingModule ( {
635- declarations : [
636- IgxHierarchicalGridTestComplexComponent
637- ] ,
638- imports : [
639- NoopAnimationsModule , IgxHierarchicalGridModule
640- ]
641- } ) . compileComponents ( ) ;
642- } ) ) ;
643637
644638 beforeEach ( waitForAsync ( ( ) => {
645639 fixture = TestBed . createComponent ( IgxHierarchicalGridTestComplexComponent ) ;
@@ -753,16 +747,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
753747 } ) ;
754748
755749 describe ( 'IgxHierarchicalGrid sibling row islands Navigation #hGrid' , ( ) => {
756- beforeAll ( waitForAsync ( ( ) => {
757- TestBed . configureTestingModule ( {
758- declarations : [
759- IgxHierarchicalGridMultiLayoutComponent
760- ] ,
761- imports : [
762- NoopAnimationsModule , IgxHierarchicalGridModule
763- ]
764- } ) . compileComponents ( ) ;
765- } ) ) ;
766750
767751 beforeEach ( waitForAsync ( ( ) => {
768752 fixture = TestBed . createComponent ( IgxHierarchicalGridMultiLayoutComponent ) ;
@@ -884,16 +868,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
884868 } ) ;
885869
886870 describe ( 'IgxHierarchicalGrid Smaller Child Navigation #hGrid' , ( ) => {
887- beforeAll ( waitForAsync ( ( ) => {
888- TestBed . configureTestingModule ( {
889- declarations : [
890- IgxHierarchicalGridSmallerChildComponent
891- ] ,
892- imports : [
893- NoopAnimationsModule , IgxHierarchicalGridModule
894- ]
895- } ) . compileComponents ( ) ;
896- } ) ) ;
897871
898872 beforeEach ( waitForAsync ( ( ) => {
899873 fixture = TestBed . createComponent ( IgxHierarchicalGridSmallerChildComponent ) ;
0 commit comments