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

@@ -144,5 +144,4 @@ describe('FormFieldComponent', () => {
fixture.detectChanges();
expect(fixture.nativeElement.querySelector('#field-FAKE-TXT-WIDGET-container').hidden).toBeTruthy();
});
});

View File

@@ -63,5 +63,4 @@ describe('TaskAttachmentList', () => {
expect(element.querySelectorAll('.adf-datatable-body > .adf-datatable-row').length).toBe(2);
});
}));
});

View File

@@ -75,7 +75,6 @@ describe('AmountWidgetComponent', () => {
widget.ngOnInit();
expect(widget.placeholder).toBe('1234');
});
});
describe('AmountWidgetComponent settings', () => {

View File

@@ -70,6 +70,5 @@ describe('CheckboxWidgetComponent', () => {
expect(element.querySelector('.adf-invalid')).not.toBeNull();
});
}));
});
});
});

View File

@@ -38,5 +38,4 @@ describe('ContainerColumnModel', () => {
column.fields = [new FormFieldModel(new FormModel(), null)];
expect(column.hasFields()).toBeTruthy();
});
});

View File

@@ -73,5 +73,4 @@ describe('ContainerWidgetComponentModel', () => {
}));
expect(container.isCollapsedByDefault()).toBeTruthy();
});
});

View File

@@ -26,5 +26,4 @@ describe('ContainerModel', () => {
const model = new ContainerModel(new FormFieldModel(form));
expect(model.form).toBe(form);
});
});

View File

@@ -197,8 +197,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
});
});
});
describe('NumberFieldValidator', () => {
@@ -262,8 +261,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MinLengthFieldValidator', () => {
@@ -315,8 +313,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MaxLengthFieldValidator', () => {
@@ -439,8 +436,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MaxValueFieldValidator', () => {
@@ -511,8 +507,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('RegExFieldValidator', () => {
@@ -561,8 +556,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
});
});
});
describe('FixedValueFieldValidator', () => {
@@ -614,8 +608,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
});
});
});
describe('MaxDateTimeFieldValidator', () => {
@@ -741,8 +734,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MinDateTimeFieldValidator', () => {
@@ -868,8 +860,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MaxDateFieldValidator', () => {
@@ -962,8 +953,7 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
describe('MinDateFieldValidator', () => {
@@ -1056,6 +1046,5 @@ describe('FormFieldValidator', () => {
expect(validator.validate(field)).toBeFalsy();
expect(field.validationSummary).not.toBeNull();
});
});
});
});

View File

@@ -41,5 +41,4 @@ describe('FormOutcomeModel', () => {
const model = new FormOutcomeModel(null, json);
expect(model.json).toBe(json);
});
});

View File

@@ -37,5 +37,4 @@ describe('FormWidgetModel', () => {
const model = new FormWidgetModelMock(null, json);
expect(model.json).toBe(json);
});
});

View File

@@ -70,5 +70,4 @@ describe('TabModel', () => {
const model = new TabModel(null, json);
expect(model.json).toBe(json);
});
});

View File

@@ -308,8 +308,7 @@ describe('DynamicTableWidgetComponent', () => {
expect(widget.content.field.validate()).toBeTruthy();
expect(widget.isValid()).toBe(widget.content.field.isValid);
expect(widget.content.field.isValid).toBeTruthy();
});
});
it('should prepend default currency for amount columns', () => {
const row = <DynamicTableRow> {value: {key: '100'}};

View File

@@ -37,5 +37,4 @@ describe('AmountEditorComponent', () => {
editor.onValueChanged(row, column, event);
expect(row.value[column.id]).toBe(value);
});
});

View File

@@ -36,5 +36,4 @@ describe('BooleanEditorComponent', () => {
component.onValueChanged(row, column, event);
expect(row.value[column.id]).toBeTruthy();
});
});

View File

@@ -143,7 +143,5 @@ describe('DateEditorComponent', () => {
const actual = row.value[column.id];
expect(actual).toBe('');
});
});
});
});

View File

@@ -85,5 +85,4 @@ describe('DateTimeEditorComponent', () => {
expect(table.flushValue).toHaveBeenCalled();
});
});

View File

@@ -301,7 +301,5 @@ describe('DropdownEditorComponent', () => {
}));
});
});
});
});

View File

@@ -78,5 +78,4 @@ describe('RowEditorComponent', () => {
component.onSaveChanges();
expect(raised).toBeFalsy();
});
});

View File

@@ -37,5 +37,4 @@ describe('TextEditorComponent', () => {
editor.onValueChanged(row, column, event);
expect(row.value[column.id]).toBe(value);
});
});

View File

@@ -270,5 +270,4 @@ describe('PeopleWidgetComponent', () => {
});
});
});
});

View File

@@ -156,6 +156,5 @@ describe('TabsWidgetComponent', () => {
});
tabWidgetComponent.tabChanged(null);
}));
});
});
});

View File

@@ -411,7 +411,5 @@ describe('UploadWidgetComponent', () => {
});
});
});
});
});

View File

@@ -54,8 +54,7 @@ describe('WidgetComponent', () => {
element.click();
});
});
});
it('should check field', () => {
expect(widget.hasField()).toBeFalsy();
@@ -103,5 +102,4 @@ describe('WidgetComponent', () => {
widget.field = new FormFieldModel(null, {required: true});
expect(widget.isRequired()).toBeTruthy();
});
});