Skip to content

Commit 57dbdef

Browse files
committed
chore(*): Update tests.
1 parent a6ccae6 commit 57dbdef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/chips/chip.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,12 @@ describe('IgxChip', () => {
249249
// tabIndex attribute has higher priority than tabIndex.
250250
const fourthTabChip = fix.debugElement.queryAll(By.directive(IgxChipComponent))[7];
251251
expect(fourthTabChip.nativeElement.getAttribute('tabindex')).toBeFalsy();
252-
expect(fourthTabChip.componentInstance.chipArea.nativeElement.getAttribute('tabindex')).toEqual('4');
252+
expect(fourthTabChip.componentInstance.chipArea.nativeElement.getAttribute('tabindex')).toEqual('1');
253253

254254
// tabIndex attribute has higher priority than tabIndex input and chip being disabled.
255255
const fifthTabChip = fix.debugElement.queryAll(By.directive(IgxChipComponent))[8];
256256
expect(fifthTabChip.nativeElement.getAttribute('tabindex')).toBeFalsy();
257-
expect(fifthTabChip.componentInstance.chipArea.nativeElement.getAttribute('tabindex')).toEqual('5');
257+
expect(fifthTabChip.componentInstance.chipArea.nativeElement.getAttribute('tabindex')).toEqual('1');
258258
});
259259
});
260260

0 commit comments

Comments
 (0)