feat(ui): habilitar apertura automatica UX-06E.D.1.1
This commit is contained in:
@@ -26,6 +26,8 @@ describe('UX-05B ciclo de vida con componentes Plotly y runtime simulado', () =>
|
||||
fixture = TestBed.createComponent(IndicadoresPage); http = TestBed.inject(HttpTestingController);
|
||||
http.expectOne('/tea/indicadores').flush([{ id: 'i', titulo: 'I', contrato: 'C1', figuras: ['f', 'g'], tipos_periodo: ['semestre'] }]);
|
||||
fixture.detectChanges();
|
||||
(fixture.debugElement.query(By.directive(IndicadorCatalogCard)).componentInstance as IndicadorCatalogCard).toggle();
|
||||
fixture.detectChanges();
|
||||
});
|
||||
afterEach(() => { fixture.destroy(); http.verify(); vi.unstubAllGlobals(); });
|
||||
async function settle() { await fixture.whenStable(); for (let i = 0; i < 12; i++) await Promise.resolve(); fixture.detectChanges(); }
|
||||
|
||||
Reference in New Issue
Block a user