Skip to content

Commit 0a8e776

Browse files
committed
fix(lint): fix lint errors
1 parent ca3f5e7 commit 0a8e776

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

projects/igniteui-angular/src/lib/grids/grid/grid-filtering-ui.spec.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27102710

27112711
const cal = SampleTestData.timeGenerator;
27122712
const today = SampleTestData.today;
2713-
2713+
27142714
beforeEach(fakeAsync(() => {
27152715
fix = TestBed.createComponent(IgxGridDatesFilteringComponent);
27162716
fix.detectChanges();
@@ -2725,18 +2725,18 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27252725
fix,
27262726
grid,
27272727
cal.timedelta(today, 'day', 15),
2728-
"ReleaseDate",
2729-
IgxDateFilteringOperand.instance().condition("equals")
2728+
'ReleaseDate',
2729+
IgxDateFilteringOperand.instance().condition('equals')
27302730
);
27312731
}));
27322732

27332733
it('Should emit filteringDone when we clicked reset - String column type', fakeAsync(() => {
27342734
emitFilteringDoneOnResetClick(
27352735
fix,
27362736
grid,
2737-
"search",
2738-
"ProductName",
2739-
IgxStringFilteringOperand.instance().condition("contains")
2737+
'search',
2738+
'ProductName',
2739+
IgxStringFilteringOperand.instance().condition('contains')
27402740
);
27412741
}));
27422742

@@ -2745,8 +2745,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27452745
fix,
27462746
grid,
27472747
100,
2748-
"Downloads",
2749-
IgxStringFilteringOperand.instance().condition("equals")
2748+
'Downloads',
2749+
IgxStringFilteringOperand.instance().condition('equals')
27502750
);
27512751
}));
27522752

@@ -2755,18 +2755,18 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27552755
fix,
27562756
grid,
27572757
cal.timedelta(today, 'day', 15),
2758-
"ReleaseDate",
2759-
IgxDateFilteringOperand.instance().condition("equals")
2758+
'ReleaseDate',
2759+
IgxDateFilteringOperand.instance().condition('equals')
27602760
);
27612761
}));
27622762

27632763
it('Should emit filteringDone when clear the input of filteringUI - String column type', fakeAsync(() => {
27642764
emitFilteringDoneOnInputClear(
27652765
fix,
27662766
grid,
2767-
"search",
2768-
"ProductName",
2769-
IgxStringFilteringOperand.instance().condition("contains")
2767+
'search',
2768+
'ProductName',
2769+
IgxStringFilteringOperand.instance().condition('contains')
27702770
);
27712771
}));
27722772

@@ -2775,8 +2775,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27752775
fix,
27762776
grid,
27772777
3,
2778-
"Downloads",
2779-
IgxStringFilteringOperand.instance().condition("equals")
2778+
'Downloads',
2779+
IgxStringFilteringOperand.instance().condition('equals')
27802780
);
27812781
}));
27822782

@@ -2785,8 +2785,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27852785
fix,
27862786
grid,
27872787
cal.timedelta(today, 'day', 15),
2788-
"ReleaseDate",
2789-
IgxDateFilteringOperand.instance().condition("equals"),
2788+
'ReleaseDate',
2789+
IgxDateFilteringOperand.instance().condition('equals'),
27902790
1,
27912791
4
27922792
);
@@ -2796,9 +2796,9 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
27962796
verifyRemoveChipFromHeader(
27972797
fix,
27982798
grid,
2799-
"I",
2800-
"ProductName",
2801-
IgxStringFilteringOperand.instance().condition("startsWith"),
2799+
'I',
2800+
'ProductName',
2801+
IgxStringFilteringOperand.instance().condition('startsWith'),
28022802
2,
28032803
1
28042804
);
@@ -2809,8 +2809,8 @@ describe('IgxGrid - Filtering Row UI actions #grid', () => {
28092809
fix,
28102810
grid,
28112811
100,
2812-
"Downloads",
2813-
IgxStringFilteringOperand.instance().condition("equals"),
2812+
'Downloads',
2813+
IgxStringFilteringOperand.instance().condition('equals'),
28142814
1,
28152815
2
28162816
);
@@ -6496,7 +6496,7 @@ const verifyChipVisibility = (fix, index: number, shouldBeFullyVisible: boolean)
64966496
};
64976497

64986498
const emitFilteringDoneOnResetClick = (fix, grid, filterVal: any, columnName: string, condition) => {
6499-
filterGrid(fix, grid, columnName, filterVal, condition)
6499+
filterGrid(fix, grid, columnName, filterVal, condition);
65006500

65016501
const filteringExpressions = grid.filteringExpressionsTree.find(columnName) as FilteringExpressionsTree;
65026502
verifyEmitFilteringDone(grid, filteringExpressions, 1);
@@ -6513,7 +6513,7 @@ const emitFilteringDoneOnResetClick = (fix, grid, filterVal: any, columnName: st
65136513
};
65146514

65156515
const emitFilteringDoneOnInputClear = (fix, grid, filterVal, columnName, condition) => {
6516-
filterGrid(fix, grid, columnName, filterVal, condition)
6516+
filterGrid(fix, grid, columnName, filterVal, condition);
65176517

65186518
GridFunctions.clickFilterCellChip(fix, columnName);
65196519

@@ -6545,7 +6545,7 @@ const verifyRemoveChipFromHeader = (fix, grid, filterVal, columnName, condition,
65456545

65466546
const emptyFilter = new FilteringExpressionsTree(null, columnName);
65476547
verifyEmitFilteringDone(grid, emptyFilter, 2);
6548-
}
6548+
};
65496549

65506550
const closeChipFromFiteringUIRow = (fix, grid, columnName, index) => {
65516551
GridFunctions.clickFilterCellChip(fix, columnName);
@@ -6561,18 +6561,18 @@ const closeChipFromFiteringUIRow = (fix, grid, columnName, index) => {
65616561

65626562
const filteringExpressions = grid.filteringExpressionsTree.find(columnName) as FilteringExpressionsTree;
65636563
verifyEmitFilteringDone(grid, filteringExpressions, 1);
6564-
}
6564+
};
65656565

65666566
const verifyEmitFilteringDone = (grid, filteringExpressions, calledTimes) => {
65676567
const args = { owner: grid, cancel: false, filteringExpressions };
65686568
expect(grid.filtering.emit).toHaveBeenCalledWith(args);
65696569
expect(grid.filtering.emit).toHaveBeenCalledTimes(calledTimes);
65706570
expect(grid.filteringDone.emit).toHaveBeenCalledWith(filteringExpressions);
65716571
expect(grid.filteringDone.emit).toHaveBeenCalledTimes(calledTimes);
6572-
}
6572+
};
65736573

65746574
const filterGrid = (fix, grid, columnName, filterVal, condition) => {
65756575
grid.filter(columnName, filterVal, condition);
65766576
tick(100);
65776577
fix.detectChanges();
6578-
}
6578+
};

0 commit comments

Comments
 (0)