mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
remove not needed spaces (#5495)
* remove not usefull spaces * increase timeout * increase timeout * fix
This commit is contained in:
@@ -285,5 +285,4 @@ describe('ChecklistComponent', () => {
|
||||
addButtonDialog.click();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -39,5 +39,4 @@ describe('NoTaskDetailsTemplateDirective', () => {
|
||||
component.ngAfterContentInit();
|
||||
expect(detailsComponent.noTaskDetailsTemplateComponent).toBe(testTemplate);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -153,5 +153,4 @@ describe('TaskAuditDirective', () => {
|
||||
button.click();
|
||||
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -371,8 +371,7 @@ describe('TaskDetailsComponent', () => {
|
||||
component.onChecklistTaskCreated(mockTask);
|
||||
expect(emitSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Comments', () => {
|
||||
|
||||
@@ -501,5 +500,4 @@ describe('TaskDetailsComponent', () => {
|
||||
expect(assignTaskSpy).toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -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];
|
||||
|
@@ -195,7 +195,5 @@ describe('Activiti Task filter Service', () => {
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user