ACS-8770: fixes showNodeCounter unit test removing redundant await of CD circle

This commit is contained in:
Anton Ramanovich
2025-07-21 13:36:17 +02:00
parent 66f5a4081a
commit 3bd705b8b4
@@ -756,10 +756,9 @@ describe('ContentNodeSelectorPanelComponent', () => {
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;
fixture.detectChanges();
await fixture.whenStable();
expect(fixture.debugElement.nativeElement.querySelector('adf-node-counter')).toBe(null);
});
});