Skip to content

Commit 2174a24

Browse files
committed
test(query-builder): exclude disconnecting test
1 parent 74e4eb7 commit 2174a24

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,25 +1393,25 @@ describe('IgxTabs', () => {
13931393
expect(leftScrollButton.clientWidth).toBeFalsy();
13941394
expect(rightScrollButton.clientWidth).toBeFalsy();
13951395
});
1396+
});
13961397

1397-
it('should hide scroll buttons when no longer needed after deleting tabs.', async () => {
1398-
const fix = TestBed.createComponent(TabsContactsComponent);
1399-
const fixTabs = fix.componentInstance.tabs;
1400-
fix.componentInstance.wrapperDiv.nativeElement.style.width = '260px';
1401-
fix.detectChanges();
1402-
1403-
const rightScrollButton = fixTabs.headerContainer.nativeElement.children[2];
1404-
const leftScrollButton = fixTabs.headerContainer.nativeElement.children[0];
1405-
expect(leftScrollButton.clientWidth).toBeTruthy();
1406-
expect(rightScrollButton.clientWidth).toBeTruthy();
1407-
1408-
fix.componentInstance.contacts.splice(0, 1);
1409-
fix.detectChanges();
1410-
await wait();
1411-
1412-
expect(leftScrollButton.clientWidth).toBeFalsy();
1413-
expect(rightScrollButton.clientWidth).toBeFalsy();
1414-
});
1398+
it('should hide scroll buttons when no longer needed after deleting tabs.', async () => {
1399+
const fixture = TestBed.createComponent(TabsContactsComponent);
1400+
const tabs = fixture.componentInstance.tabs;
1401+
fixture.componentInstance.wrapperDiv.nativeElement.style.width = '260px';
1402+
fixture.detectChanges();
1403+
1404+
const rightScrollButton = tabs.headerContainer.nativeElement.children[2];
1405+
const leftScrollButton = tabs.headerContainer.nativeElement.children[0];
1406+
expect(leftScrollButton.clientWidth).toBeTruthy();
1407+
expect(rightScrollButton.clientWidth).toBeTruthy();
1408+
1409+
fixture.componentInstance.contacts.splice(0, 1);
1410+
fixture.detectChanges();
1411+
await wait();
1412+
1413+
expect(leftScrollButton.clientWidth).toBeFalsy();
1414+
expect(rightScrollButton.clientWidth).toBeFalsy();
14151415
});
14161416

14171417
describe('IgxTabs RTL', () => {

0 commit comments

Comments
 (0)