Written test case for the run-report component
Issue-ID: PORTAL-808
Change-Id: If56b0f76ffd5364b0e952bfab61a65a03d3cce64
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
component.showError("abc");
expect(component.error).toEqual(true);
expect(component.showSpinner).toEqual(false);
- })
+ });
+
+ it('should test afterViewInitialProcesses method ', () =>{
+ component.DashboardReportObj.length === 0;
+ component.reportMode === "Regular";
+ component.initCnt == 0;
+
+ component.afterViewInitialProcesses();
+ expect(component.showMoreVert).toEqual(false);
+ expect(component.NEWdisplayedColumns).toEqual(new Array());
+ });
});