fix process filter test

This commit is contained in:
Eugenio Romano
2018-09-19 16:03:05 +01:00
parent 36632b6291
commit d85fdf887d

View File

@@ -77,7 +77,6 @@ describe('ProcessFiltersComponent', () => {
processFilterService = TestBed.get(ProcessFilterService);
appsProcessService = TestBed.get(AppsProcessService);
filterList = new ProcessFiltersComponent(processFilterService, appsProcessService);
});
afterEach(() => {
@@ -318,6 +317,7 @@ describe('ProcessFiltersComponent', () => {
done();
});
});
it('should not attach icons for each filter if hasIcon is false', (done) => {
spyOn(processFilterService, 'getProcessFilters').and.returnValue(from(fakeGlobalFilterPromise));
filterList.showIcon = false;