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

@@ -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', () => {
})
});
});
});
});
});