Skip to content

Commit 9c0a920

Browse files
committed
test(query-builder): exclude disconnecting test
1 parent bc8240a commit 9c0a920

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

projects/igniteui-angular/src/lib/tabs/tabs/tabs.component.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,18 +1395,18 @@ describe('IgxTabs', () => {
13951395
});
13961396

13971397
it('should hide scroll buttons when no longer needed after deleting tabs.', async () => {
1398-
const fixture = TestBed.createComponent(TabsContactsComponent);
1399-
const tabs = fixture.componentInstance.tabs;
1400-
fixture.componentInstance.wrapperDiv.nativeElement.style.width = '260px';
1401-
fixture.detectChanges();
1398+
const fix = TestBed.createComponent(TabsContactsComponent);
1399+
const fixTabs = fix.componentInstance.tabs;
1400+
fix.componentInstance.wrapperDiv.nativeElement.style.width = '260px';
1401+
fix.detectChanges();
14021402

1403-
const rightScrollButton = tabs.headerContainer.nativeElement.children[2];
1404-
const leftScrollButton = tabs.headerContainer.nativeElement.children[0];
1403+
const rightScrollButton = fixTabs.headerContainer.nativeElement.children[2];
1404+
const leftScrollButton = fixTabs.headerContainer.nativeElement.children[0];
14051405
expect(leftScrollButton.clientWidth).toBeTruthy();
14061406
expect(rightScrollButton.clientWidth).toBeTruthy();
14071407

1408-
fixture.componentInstance.contacts.splice(0, 1);
1409-
fixture.detectChanges();
1408+
fix.componentInstance.contacts.splice(0, 1);
1409+
fix.detectChanges();
14101410
await wait();
14111411

14121412
expect(leftScrollButton.clientWidth).toBeFalsy();

0 commit comments

Comments
 (0)