@@ -23,17 +23,21 @@ describe('IgxHierarchicalGrid Navigation', () => {
23
23
let baseHGridContent : DebugElement ;
24
24
configureTestSuite ( ) ;
25
25
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
+
26
40
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
- } ) ) ;
37
41
38
42
beforeEach ( waitForAsync ( ( ) => {
39
43
fixture = TestBed . createComponent ( IgxHierarchicalGridTestBaseComponent ) ;
@@ -630,16 +634,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
630
634
631
635
632
636
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
- } ) ) ;
643
637
644
638
beforeEach ( waitForAsync ( ( ) => {
645
639
fixture = TestBed . createComponent ( IgxHierarchicalGridTestComplexComponent ) ;
@@ -753,16 +747,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
753
747
} ) ;
754
748
755
749
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
- } ) ) ;
766
750
767
751
beforeEach ( waitForAsync ( ( ) => {
768
752
fixture = TestBed . createComponent ( IgxHierarchicalGridMultiLayoutComponent ) ;
@@ -884,16 +868,6 @@ describe('IgxHierarchicalGrid Navigation', () => {
884
868
} ) ;
885
869
886
870
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
- } ) ) ;
897
871
898
872
beforeEach ( waitForAsync ( ( ) => {
899
873
fixture = TestBed . createComponent ( IgxHierarchicalGridSmallerChildComponent ) ;
0 commit comments