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

@@ -73,6 +73,5 @@ describe('AppDetailsCloudComponent', () => {
fixture.detectChanges();
const app = fixture.nativeElement.querySelector('.mat-card');
expect(app).toBeTruthy();
});
});
});

View File

@@ -116,8 +116,7 @@ describe('AppListCloudComponent', () => {
expect(errorSubtitle.innerText).toBe('ADF_CLOUD_TASK_LIST.APPS.ERROR.SUBTITLE');
expect(getAppsSpy).toHaveBeenCalled();
});
});
});
describe('Grid Layout ', () => {

View File

@@ -54,8 +54,7 @@ describe('FormCloudComponent', () => {
formCloudService = new FormCloudService(null, new AppConfigService(null));
formService = new FormService(null, null, logService);
formComponent = new FormCloudComponent(formCloudService, formService, null, formRenderingService, visibilityService, appConfigService);
});
});
it('should check form', () => {
expect(formComponent.hasForm()).toBeFalsy();
@@ -69,8 +68,7 @@ describe('FormCloudComponent', () => {
expect(formComponent.showTitle).toBeTruthy();
expect(formComponent.isTitleEnabled()).toBeTruthy();
});
});
it('should not allow title if showTitle is false', () => {
const formModel = new FormModel();
@@ -812,8 +810,7 @@ describe('FormCloudComponent', () => {
});
formComponent.ngOnChanges({ 'data': change });
});
});
it('should refresh radio buttons value when id is given to data', () => {
formComponent.form = new FormModel(JSON.parse(JSON.stringify(cloudFormMock)));

View File

@@ -222,6 +222,5 @@ describe('Form Cloud service', () => {
done();
});
});
});
});
});

View File

@@ -533,8 +533,7 @@ describe('GroupCloudComponent', () => {
done();
});
});
});
});
describe('Multiple Mode with read-only', () => {

View File

@@ -750,5 +750,4 @@ describe('PeopleCloudComponent', () => {
const duplicatedUsers = [{ id: mockUsers[0].id }, { id: mockUsers[0].id }];
expect(component.removeDuplicatedUsers(duplicatedUsers)).toEqual([{ id: mockUsers[0].id }]);
});
});

View File

@@ -80,5 +80,4 @@ describe('CancelProcessDirective', () => {
fixture.detectChanges();
expect(component.cancelProcessDirective.checkCanCancelProcess()).toBeFalsy();
});
});

View File

@@ -211,8 +211,7 @@ describe('ProcessFiltersCloudComponent', () => {
fixture.detectChanges();
component.ngOnChanges({ 'appName': change });
});
});
it('should select the filter based on the input by key param', (done) => {
spyOn(processFilterService, 'getProcessFilters').and.returnValue(fakeGlobalFilterObservable);
@@ -231,8 +230,7 @@ describe('ProcessFiltersCloudComponent', () => {
});
component.ngOnChanges({ 'appName': change });
});
});
it('should select the default filter if filter input does not exist', (done) => {
spyOn(processFilterService, 'getProcessFilters').and.returnValue(fakeGlobalFilterObservable);
@@ -252,8 +250,7 @@ describe('ProcessFiltersCloudComponent', () => {
});
component.ngOnChanges({ 'appName': change });
});
});
it('should select the filter based on the input by index param', (done) => {
spyOn(processFilterService, 'getProcessFilters').and.returnValue(fakeGlobalFilterObservable);
@@ -272,8 +269,7 @@ describe('ProcessFiltersCloudComponent', () => {
});
component.ngOnChanges({ 'appName': change });
});
});
it('should select the filter based on the input by id param', (done) => {
spyOn(processFilterService, 'getProcessFilters').and.returnValue(fakeGlobalFilterObservable);

View File

@@ -64,7 +64,6 @@ describe('ClaimTaskDirective', () => {
button.click();
expect(taskCloudService.claimTask).toHaveBeenCalled();
});
});
describe('Claim Task Directive validation errors', () => {

View File

@@ -65,7 +65,6 @@ describe('UnClaimTaskDirective', () => {
button.click();
expect(taskCloudService.unclaimTask).toHaveBeenCalled();
});
});
describe('UnClaim Task Directive validation errors', () => {

View File

@@ -70,8 +70,7 @@ describe('TaskFormCloudComponent', () => {
fixture = TestBed.createComponent(TaskFormCloudComponent);
debugElement = fixture.debugElement;
component = fixture.componentInstance;
});
});
it('should create TaskFormCloudComponent ', () => {
expect(component instanceof TaskFormCloudComponent).toBe(true);
@@ -407,8 +406,7 @@ describe('TaskFormCloudComponent', () => {
expect(loadingTemplate).toBeNull();
});
});
});
});
@Component({

View File

@@ -179,8 +179,7 @@ describe('TaskHeaderCloudComponent', () => {
expect(updateTaskSpy).toHaveBeenCalled();
});
}));
});
});
describe('Task with parentTaskId', () => {

View File

@@ -314,8 +314,7 @@ describe('TaskListCloudComponent', () => {
customCopyComponent.taskList.ngOnChanges({ 'appName': appName });
copyFixture.detectChanges();
}));
});
});
describe('Creating an empty custom template - EmptyTemplateComponent', () => {
let fixtureEmpty: ComponentFixture<EmptyTemplateComponent>;
@@ -426,5 +425,4 @@ describe('TaskListCloudComponent', () => {
component.ngAfterContentInit();
}));
});
});

View File

@@ -129,5 +129,4 @@ describe('Activiti TaskList Cloud Service', () => {
}
);
});
});