@@ -2710,7 +2710,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2710
2710
2711
2711
const cal = SampleTestData . timeGenerator ;
2712
2712
const today = SampleTestData . today ;
2713
-
2713
+
2714
2714
beforeEach ( fakeAsync ( ( ) => {
2715
2715
fix = TestBed . createComponent ( IgxGridDatesFilteringComponent ) ;
2716
2716
fix . detectChanges ( ) ;
@@ -2725,18 +2725,18 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2725
2725
fix ,
2726
2726
grid ,
2727
2727
cal . timedelta ( today , 'day' , 15 ) ,
2728
- " ReleaseDate" ,
2729
- IgxDateFilteringOperand . instance ( ) . condition ( " equals" )
2728
+ ' ReleaseDate' ,
2729
+ IgxDateFilteringOperand . instance ( ) . condition ( ' equals' )
2730
2730
) ;
2731
2731
} ) ) ;
2732
2732
2733
2733
it ( 'Should emit filteringDone when we clicked reset - String column type' , fakeAsync ( ( ) => {
2734
2734
emitFilteringDoneOnResetClick (
2735
2735
fix ,
2736
2736
grid ,
2737
- " search" ,
2738
- " ProductName" ,
2739
- IgxStringFilteringOperand . instance ( ) . condition ( " contains" )
2737
+ ' search' ,
2738
+ ' ProductName' ,
2739
+ IgxStringFilteringOperand . instance ( ) . condition ( ' contains' )
2740
2740
) ;
2741
2741
} ) ) ;
2742
2742
@@ -2745,8 +2745,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2745
2745
fix ,
2746
2746
grid ,
2747
2747
100 ,
2748
- " Downloads" ,
2749
- IgxStringFilteringOperand . instance ( ) . condition ( " equals" )
2748
+ ' Downloads' ,
2749
+ IgxStringFilteringOperand . instance ( ) . condition ( ' equals' )
2750
2750
) ;
2751
2751
} ) ) ;
2752
2752
@@ -2755,18 +2755,18 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2755
2755
fix ,
2756
2756
grid ,
2757
2757
cal . timedelta ( today , 'day' , 15 ) ,
2758
- " ReleaseDate" ,
2759
- IgxDateFilteringOperand . instance ( ) . condition ( " equals" )
2758
+ ' ReleaseDate' ,
2759
+ IgxDateFilteringOperand . instance ( ) . condition ( ' equals' )
2760
2760
) ;
2761
2761
} ) ) ;
2762
2762
2763
2763
it ( 'Should emit filteringDone when clear the input of filteringUI - String column type' , fakeAsync ( ( ) => {
2764
2764
emitFilteringDoneOnInputClear (
2765
2765
fix ,
2766
2766
grid ,
2767
- " search" ,
2768
- " ProductName" ,
2769
- IgxStringFilteringOperand . instance ( ) . condition ( " contains" )
2767
+ ' search' ,
2768
+ ' ProductName' ,
2769
+ IgxStringFilteringOperand . instance ( ) . condition ( ' contains' )
2770
2770
) ;
2771
2771
} ) ) ;
2772
2772
@@ -2775,8 +2775,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2775
2775
fix ,
2776
2776
grid ,
2777
2777
3 ,
2778
- " Downloads" ,
2779
- IgxStringFilteringOperand . instance ( ) . condition ( " equals" )
2778
+ ' Downloads' ,
2779
+ IgxStringFilteringOperand . instance ( ) . condition ( ' equals' )
2780
2780
) ;
2781
2781
} ) ) ;
2782
2782
@@ -2785,8 +2785,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2785
2785
fix ,
2786
2786
grid ,
2787
2787
cal . timedelta ( today , 'day' , 15 ) ,
2788
- " ReleaseDate" ,
2789
- IgxDateFilteringOperand . instance ( ) . condition ( " equals" ) ,
2788
+ ' ReleaseDate' ,
2789
+ IgxDateFilteringOperand . instance ( ) . condition ( ' equals' ) ,
2790
2790
1 ,
2791
2791
4
2792
2792
) ;
@@ -2796,9 +2796,9 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2796
2796
verifyRemoveChipFromHeader (
2797
2797
fix ,
2798
2798
grid ,
2799
- "I" ,
2800
- " ProductName" ,
2801
- IgxStringFilteringOperand . instance ( ) . condition ( " startsWith" ) ,
2799
+ 'I' ,
2800
+ ' ProductName' ,
2801
+ IgxStringFilteringOperand . instance ( ) . condition ( ' startsWith' ) ,
2802
2802
2 ,
2803
2803
1
2804
2804
) ;
@@ -2809,8 +2809,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
2809
2809
fix ,
2810
2810
grid ,
2811
2811
100 ,
2812
- " Downloads" ,
2813
- IgxStringFilteringOperand . instance ( ) . condition ( " equals" ) ,
2812
+ ' Downloads' ,
2813
+ IgxStringFilteringOperand . instance ( ) . condition ( ' equals' ) ,
2814
2814
1 ,
2815
2815
2
2816
2816
) ;
@@ -6496,7 +6496,7 @@ const verifyChipVisibility = (fix, index: number, shouldBeFullyVisible: boolean)
6496
6496
} ;
6497
6497
6498
6498
const emitFilteringDoneOnResetClick = ( fix , grid , filterVal : any , columnName : string , condition ) => {
6499
- filterGrid ( fix , grid , columnName , filterVal , condition )
6499
+ filterGrid ( fix , grid , columnName , filterVal , condition ) ;
6500
6500
6501
6501
const filteringExpressions = grid . filteringExpressionsTree . find ( columnName ) as FilteringExpressionsTree ;
6502
6502
verifyEmitFilteringDone ( grid , filteringExpressions , 1 ) ;
@@ -6513,7 +6513,7 @@ const emitFilteringDoneOnResetClick = (fix, grid, filterVal: any, columnName: st
6513
6513
} ;
6514
6514
6515
6515
const emitFilteringDoneOnInputClear = ( fix , grid , filterVal , columnName , condition ) => {
6516
- filterGrid ( fix , grid , columnName , filterVal , condition )
6516
+ filterGrid ( fix , grid , columnName , filterVal , condition ) ;
6517
6517
6518
6518
GridFunctions . clickFilterCellChip ( fix , columnName ) ;
6519
6519
@@ -6545,7 +6545,7 @@ const verifyRemoveChipFromHeader = (fix, grid, filterVal, columnName, condition,
6545
6545
6546
6546
const emptyFilter = new FilteringExpressionsTree ( null , columnName ) ;
6547
6547
verifyEmitFilteringDone ( grid , emptyFilter , 2 ) ;
6548
- }
6548
+ } ;
6549
6549
6550
6550
const closeChipFromFiteringUIRow = ( fix , grid , columnName , index ) => {
6551
6551
GridFunctions . clickFilterCellChip ( fix , columnName ) ;
@@ -6561,18 +6561,18 @@ const closeChipFromFiteringUIRow = (fix, grid, columnName, index) => {
6561
6561
6562
6562
const filteringExpressions = grid . filteringExpressionsTree . find ( columnName ) as FilteringExpressionsTree ;
6563
6563
verifyEmitFilteringDone ( grid , filteringExpressions , 1 ) ;
6564
- }
6564
+ } ;
6565
6565
6566
6566
const verifyEmitFilteringDone = ( grid , filteringExpressions , calledTimes ) => {
6567
6567
const args = { owner : grid , cancel : false , filteringExpressions } ;
6568
6568
expect ( grid . filtering . emit ) . toHaveBeenCalledWith ( args ) ;
6569
6569
expect ( grid . filtering . emit ) . toHaveBeenCalledTimes ( calledTimes ) ;
6570
6570
expect ( grid . filteringDone . emit ) . toHaveBeenCalledWith ( filteringExpressions ) ;
6571
6571
expect ( grid . filteringDone . emit ) . toHaveBeenCalledTimes ( calledTimes ) ;
6572
- }
6572
+ } ;
6573
6573
6574
6574
const filterGrid = ( fix , grid , columnName , filterVal , condition ) => {
6575
6575
grid . filter ( columnName , filterVal , condition ) ;
6576
6576
tick ( 100 ) ;
6577
6577
fix . detectChanges ( ) ;
6578
- }
6578
+ } ;
0 commit comments