remove not needed spaces (#5495)

* remove not usefull spaces

* increase timeout

* increase timeout

* fix
This commit is contained in:
Eugenio Romano
2020-02-23 17:00:16 +00:00
committed by GitHub
parent 9e0e2bdfa6
commit 2d0b571875
302 changed files with 378 additions and 1245 deletions

View File

@@ -201,8 +201,7 @@ describe('AppsListComponent', () => {
fixture.detectChanges();
expect(debugElement.queryAll(By.css('h1')).length).toBe(1);
});
});
});
describe('select apps', () => {
@@ -235,9 +234,7 @@ describe('AppsListComponent', () => {
const appEls = debugElement.queryAll(By.css('.adf-app-listgrid > div'));
expect(appEls[1].query(By.css('.adf-app-listgrid-item-card-actions-icon'))).not.toBeNull();
});
});
});
});
@Component({

View File

@@ -116,5 +116,4 @@ describe('CreateProcessAttachmentComponent', () => {
responseText: JSON.stringify(fakeUploadResponse)
});
}));
});

View File

@@ -287,9 +287,7 @@ describe('ProcessAttachmentListComponent', () => {
it('should display a dialog to the user when the Add button clicked', () => {
expect(true).toBe(true);
});
});
});
});
@Component({

View File

@@ -312,8 +312,7 @@ describe('TaskAttachmentList', () => {
fixture.detectChanges();
expect(deleteContentSpy).toHaveBeenCalled();
});
});
});
});
@Component({

View File

@@ -111,8 +111,7 @@ describe('AttachFileWidgetDialogComponent', () => {
done();
});
});
});
});
describe('When is logged in', () => {
@@ -145,7 +144,5 @@ describe('AttachFileWidgetDialogComponent', () => {
chooseButton.click();
});
});
});
});
});

View File

@@ -62,5 +62,4 @@ describe('AttachFileWidgetDialogService', () => {
service.close();
expect(materialDialog.closeAll).toHaveBeenCalled();
});
});

View File

@@ -418,7 +418,5 @@ describe('AttachFileWidgetComponent', () => {
const showOption: HTMLButtonElement = <HTMLButtonElement> fixture.debugElement.query(By.css('#file-1155-show-file')).nativeElement;
expect(showOption.disabled).toBeTruthy();
}));
});
});
});

View File

@@ -150,5 +150,4 @@ describe('AttachFolderWidgetComponent', () => {
expect(element.querySelector('#folder-fake-widget')).toBeNull();
});
}));
});

View File

@@ -66,8 +66,7 @@ describe('PeopleSearchComponent', () => {
.then(() => {
expect(element.querySelector('#search-people-list')).toBeNull();
});
});
});
it('should show user which can be involved ', (done) => {
peopleSearchComponent.results = of(userArray);

View File

@@ -167,5 +167,4 @@ describe('ProcessAuditDirective', () => {
button.click();
}));
});

View File

@@ -185,6 +185,5 @@ describe('ProcessInstanceHeaderComponent', () => {
expect(propertyList[2].innerText).toContain('ADF_PROCESS_LIST.PROPERTIES.CATEGORY');
});
}));
});
});
});

View File

@@ -510,7 +510,5 @@ describe('StartFormComponent', () => {
expect(component.hasStartForm()).toBe(true);
});
}));
});
});
});

View File

@@ -118,8 +118,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('process instance', () => {
@@ -169,8 +168,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('start process instance', () => {
@@ -233,8 +231,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('cancel process instance', () => {
@@ -282,8 +279,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('process definitions', () => {
@@ -344,8 +340,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('process instance tasks', () => {
@@ -413,8 +408,7 @@ describe('ProcessService', () => {
}
);
}));
});
});
describe('process variables', () => {
@@ -532,6 +526,5 @@ describe('ProcessService', () => {
}));
});
});
});
});

View File

@@ -285,5 +285,4 @@ describe('ChecklistComponent', () => {
addButtonDialog.click();
});
});
});

View File

@@ -39,5 +39,4 @@ describe('NoTaskDetailsTemplateDirective', () => {
component.ngAfterContentInit();
expect(detailsComponent.noTaskDetailsTemplateComponent).toBe(testTemplate);
});
});

View File

@@ -153,5 +153,4 @@ describe('TaskAuditDirective', () => {
button.click();
}));
});

View File

@@ -371,8 +371,7 @@ describe('TaskDetailsComponent', () => {
component.onChecklistTaskCreated(mockTask);
expect(emitSpy).toHaveBeenCalled();
});
});
});
describe('Comments', () => {
@@ -501,5 +500,4 @@ describe('TaskDetailsComponent', () => {
expect(assignTaskSpy).toHaveBeenCalled();
});
});
});

View File

@@ -102,8 +102,7 @@ describe('TaskFiltersComponent', () => {
expect(err).toBeDefined();
done();
});
});
});
it('should return the filter task list', (done) => {
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
@@ -161,8 +160,7 @@ describe('TaskFiltersComponent', () => {
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
done();
});
});
});
it('should be able to fetch and select the default if the input filter is not valid', (done) => {
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalEmptyFilterPromise));
@@ -195,8 +193,7 @@ describe('TaskFiltersComponent', () => {
expect(component.currentFilter.name).toEqual('FakeMyTasks1');
done();
});
});
});
it('should select the default task filter if filter input does not exist', (done) => {
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
@@ -215,8 +212,7 @@ describe('TaskFiltersComponent', () => {
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
done();
});
});
});
it('should select the task filter based on the input by index param', (done) => {
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
@@ -235,8 +231,7 @@ describe('TaskFiltersComponent', () => {
expect(component.currentFilter.name).toEqual('FakeMyTasks2');
done();
});
});
});
it('should select the task filter based on the input by id param', (done) => {
spyOn(taskFilterService, 'getTaskListFilters').and.returnValue(from(fakeGlobalFilterPromise));
@@ -255,8 +250,7 @@ describe('TaskFiltersComponent', () => {
expect(component.currentFilter.name).toEqual('FakeInvolvedTasks');
done();
});
});
});
it('should emit an event when a filter is selected', (done) => {
const currentFilter = fakeGlobalFilter[0];

View File

@@ -195,7 +195,5 @@ describe('Activiti Task filter Service', () => {
})
});
});
});
});
});