@@ -229,7 +229,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
229
229
expect ( rows . length ) . toBe ( 4 ) ;
230
230
} ) ;
231
231
232
- it ( 'should emits an event when expanding rows (API)' , ( done ) => {
232
+ it ( 'should emit an event when expanding rows (API)' , ( done ) => {
233
233
const aRow = treeGrid . getRowByIndex ( 0 ) ;
234
234
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
235
235
expect ( args . cancel ) . toBe ( false ) ;
@@ -241,7 +241,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
241
241
aRow . expanded = true ;
242
242
} ) ;
243
243
244
- it ( 'should emits an event when collapsing rows (API)' , ( done ) => {
244
+ it ( 'should emit an event when collapsing rows (API)' , ( done ) => {
245
245
const aRow = treeGrid . getRowByIndex ( 0 ) ;
246
246
aRow . expanded = true ;
247
247
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
@@ -254,7 +254,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
254
254
aRow . expanded = false ;
255
255
} ) ;
256
256
257
- it ( 'should emits an event when expanding rows (UI)' , ( done ) => {
257
+ it ( 'should emit an event when expanding rows (UI)' , ( done ) => {
258
258
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
259
259
expect ( args . cancel ) . toBe ( false ) ;
260
260
expect ( args . event ) . toBeDefined ( ) ;
@@ -267,7 +267,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
267
267
indicatorDivDOM . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
268
268
} ) ;
269
269
270
- it ( 'should emits an event when collapsing rows (UI)' , ( done ) => {
270
+ it ( 'should emit an event when collapsing rows (UI)' , ( done ) => {
271
271
const rowsDOM = TreeGridFunctions . getAllRows ( fix ) ;
272
272
const indicatorDivDOM = TreeGridFunctions . getExpansionIndicatorDiv ( rowsDOM [ 0 ] ) ;
273
273
indicatorDivDOM . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
@@ -516,7 +516,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
516
516
expect ( rows . length ) . toBe ( 3 ) ;
517
517
} ) ;
518
518
519
- it ( 'should emits an event when expanding rows (API)' , ( done ) => {
519
+ it ( 'should emit an event when expanding rows (API)' , ( done ) => {
520
520
const aRow = treeGrid . getRowByIndex ( 0 ) ;
521
521
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
522
522
expect ( args . cancel ) . toBe ( false ) ;
@@ -528,7 +528,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
528
528
aRow . expanded = true ;
529
529
} ) ;
530
530
531
- it ( 'should emits an event when collapsing rows (API)' , ( done ) => {
531
+ it ( 'should emit an event when collapsing rows (API)' , ( done ) => {
532
532
const aRow = treeGrid . getRowByIndex ( 0 ) ;
533
533
aRow . expanded = true ;
534
534
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
@@ -541,7 +541,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
541
541
aRow . expanded = false ;
542
542
} ) ;
543
543
544
- it ( 'should emits an event when expanding rows (UI)' , ( done ) => {
544
+ it ( 'should emit an event when expanding rows (UI)' , ( done ) => {
545
545
treeGrid . onRowToggle . pipe ( first ( ) ) . subscribe ( ( args ) => {
546
546
expect ( args . cancel ) . toBe ( false ) ;
547
547
expect ( args . event ) . toBeDefined ( ) ;
@@ -554,7 +554,7 @@ describe('IgxTreeGrid - Expanding / Collapsing', () => {
554
554
indicatorDivDOM . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
555
555
} ) ;
556
556
557
- it ( 'should emits an event when collapsing rows (UI)' , ( done ) => {
557
+ it ( 'should emit an event when collapsing rows (UI)' , ( done ) => {
558
558
const rowsDOM = TreeGridFunctions . getAllRows ( fix ) ;
559
559
const indicatorDivDOM = TreeGridFunctions . getExpansionIndicatorDiv ( rowsDOM [ 0 ] ) ;
560
560
indicatorDivDOM . triggerEventHandler ( 'click' , new Event ( 'click' ) ) ;
0 commit comments