mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
ACS-8770: fixes showNodeCounter unit test removing redundant await of CD circle
This commit is contained in:
+1
-2
@@ -756,10 +756,9 @@ describe('ContentNodeSelectorPanelComponent', () => {
|
|||||||
expect(component.getSelectedCount()).toBe(0);
|
expect(component.getSelectedCount()).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not render component input if `showNodeCounter` is false', async () => {
|
it('should not render component input if `showNodeCounter` is false', () => {
|
||||||
component.showNodeCounter = false;
|
component.showNodeCounter = false;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
await fixture.whenStable();
|
|
||||||
expect(fixture.debugElement.nativeElement.querySelector('adf-node-counter')).toBe(null);
|
expect(fixture.debugElement.nativeElement.querySelector('adf-node-counter')).toBe(null);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user