Skip to content

Commit 52cca8b

Browse files
author
Radko Kolev
committed
chore(tree-grid): "should emits" -> "should emit" #2530
1 parent fae8a83 commit 52cca8b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-expanding.spec.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
229229
expect(rows.length).toBe(4);
230230
});
231231

232-
it('should emits an event when expanding rows (API)', (done) => {
232+
it('should emit an event when expanding rows (API)', (done) => {
233233
const aRow = treeGrid.getRowByIndex(0);
234234
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
235235
expect(args.cancel).toBe(false);
@@ -241,7 +241,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
241241
aRow.expanded = true;
242242
});
243243

244-
it('should emits an event when collapsing rows (API)', (done) => {
244+
it('should emit an event when collapsing rows (API)', (done) => {
245245
const aRow = treeGrid.getRowByIndex(0);
246246
aRow.expanded = true;
247247
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
@@ -254,7 +254,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
254254
aRow.expanded = false;
255255
});
256256

257-
it('should emits an event when expanding rows (UI)', (done) => {
257+
it('should emit an event when expanding rows (UI)', (done) => {
258258
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
259259
expect(args.cancel).toBe(false);
260260
expect(args.event).toBeDefined();
@@ -267,7 +267,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
267267
indicatorDivDOM.triggerEventHandler('click', new Event('click'));
268268
});
269269

270-
it('should emits an event when collapsing rows (UI)', (done) => {
270+
it('should emit an event when collapsing rows (UI)', (done) => {
271271
const rowsDOM = TreeGridFunctions.getAllRows(fix);
272272
const indicatorDivDOM = TreeGridFunctions.getExpansionIndicatorDiv(rowsDOM[0]);
273273
indicatorDivDOM.triggerEventHandler('click', new Event('click'));
@@ -516,7 +516,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
516516
expect(rows.length).toBe(3);
517517
});
518518

519-
it('should emits an event when expanding rows (API)', (done) => {
519+
it('should emit an event when expanding rows (API)', (done) => {
520520
const aRow = treeGrid.getRowByIndex(0);
521521
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
522522
expect(args.cancel).toBe(false);
@@ -528,7 +528,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
528528
aRow.expanded = true;
529529
});
530530

531-
it('should emits an event when collapsing rows (API)', (done) => {
531+
it('should emit an event when collapsing rows (API)', (done) => {
532532
const aRow = treeGrid.getRowByIndex(0);
533533
aRow.expanded = true;
534534
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
@@ -541,7 +541,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
541541
aRow.expanded = false;
542542
});
543543

544-
it('should emits an event when expanding rows (UI)', (done) => {
544+
it('should emit an event when expanding rows (UI)', (done) => {
545545
treeGrid.onRowToggle.pipe(first()).subscribe((args) => {
546546
expect(args.cancel).toBe(false);
547547
expect(args.event).toBeDefined();
@@ -554,7 +554,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
554554
indicatorDivDOM.triggerEventHandler('click', new Event('click'));
555555
});
556556

557-
it('should emits an event when collapsing rows (UI)', (done) => {
557+
it('should emit an event when collapsing rows (UI)', (done) => {
558558
const rowsDOM = TreeGridFunctions.getAllRows(fix);
559559
const indicatorDivDOM = TreeGridFunctions.getExpansionIndicatorDiv(rowsDOM[0]);
560560
indicatorDivDOM.triggerEventHandler('click', new Event('click'));

0 commit comments

Comments
 (0)