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:
@@ -136,5 +136,4 @@ describe('ButtonsMenuComponent', () => {
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -303,5 +303,4 @@ describe('CardViewDateItemComponent', () => {
|
||||
fixture.whenStable().then(() => expect(component.property.value).toEqual(expectedDate.toDate()));
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -171,6 +171,5 @@ describe('CardViewKeyValuePairsItemComponent', () => {
|
||||
expect(cardViewUpdateService.update).not.toHaveBeenCalled();
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -129,5 +129,4 @@ describe('CardViewMapItemComponent', () => {
|
||||
|
||||
value.click();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -92,6 +92,5 @@ describe('CardViewSelectItemComponent', () => {
|
||||
const label = fixture.debugElement.query(By.css('[data-automation-class="select-box"] .mat-form-field-label'));
|
||||
expect(label).toBeNull();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -295,8 +295,7 @@ describe('CommentsComponent', () => {
|
||||
component.add();
|
||||
expect(emitSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Add comment node', () => {
|
||||
|
||||
@@ -383,7 +382,5 @@ describe('CommentsComponent', () => {
|
||||
component.add();
|
||||
expect(emitSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -31,5 +31,4 @@ describe('DataColumnListComponent', () => {
|
||||
const component = fixture.debugElement.componentInstance;
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -39,5 +39,4 @@ describe('DataColumnListComponent', () => {
|
||||
component.ngOnInit();
|
||||
expect(component.srTitle).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -634,8 +634,7 @@ describe('DataTable', () => {
|
||||
dataTable.onRowClick(row, null);
|
||||
}
|
||||
, 240);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should emit double click if there are more than two single click in 250ms', (done) => {
|
||||
|
||||
@@ -655,8 +654,7 @@ describe('DataTable', () => {
|
||||
dataTable.onRowClick(row, null);
|
||||
}
|
||||
, 240);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should emit single click if there are two single click in more than 250ms', (done) => {
|
||||
|
||||
@@ -803,8 +801,7 @@ describe('DataTable', () => {
|
||||
direction: 'asc'
|
||||
})
|
||||
);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should indicate column that has sorting applied', () => {
|
||||
dataTable.data = new ObjectDataTableAdapter(
|
||||
|
@@ -92,8 +92,7 @@ describe('LocationCellComponent', () => {
|
||||
expect(value).toBe('');
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should not setup cell when path is missing required properties', (done) => {
|
||||
rowData.path = { someProp: '' };
|
||||
|
@@ -295,7 +295,6 @@ describe('ObjectDataTableAdapter', () => {
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('ObjectDataRow', () => {
|
||||
@@ -364,5 +363,4 @@ describe('ObjectDataRow', () => {
|
||||
expect(schema[0].title).toBe('id');
|
||||
expect(schema[1].title).toBe('name');
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -80,8 +80,7 @@ describe('LogoutDirective', () => {
|
||||
expect(authService.logout).toHaveBeenCalled();
|
||||
expect(router.navigate).toHaveBeenCalledWith(['/login']);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('redirectUri', () => {
|
||||
|
||||
@@ -125,8 +124,7 @@ describe('LogoutDirective', () => {
|
||||
expect(authService.logout).toHaveBeenCalled();
|
||||
expect(router.navigate).toHaveBeenCalledWith(['/myCustomUri']);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('enableRedirect', () => {
|
||||
|
||||
@@ -170,5 +168,4 @@ describe('LogoutDirective', () => {
|
||||
expect(router.navigate).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -387,5 +387,4 @@ describe('NodeDeleteDirective', () => {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -276,6 +276,5 @@ describe('NodeRestoreDirective', () => {
|
||||
element.triggerEventHandler('click', null);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -144,5 +144,4 @@ describe('FormFieldComponent', () => {
|
||||
fixture.detectChanges();
|
||||
expect(fixture.nativeElement.querySelector('#field-FAKE-TXT-WIDGET-container').hidden).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -63,5 +63,4 @@ describe('TaskAttachmentList', () => {
|
||||
expect(element.querySelectorAll('.adf-datatable-body > .adf-datatable-row').length).toBe(2);
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
|
@@ -75,7 +75,6 @@ describe('AmountWidgetComponent', () => {
|
||||
widget.ngOnInit();
|
||||
expect(widget.placeholder).toBe('1234');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('AmountWidgetComponent settings', () => {
|
||||
|
@@ -70,6 +70,5 @@ describe('CheckboxWidgetComponent', () => {
|
||||
expect(element.querySelector('.adf-invalid')).not.toBeNull();
|
||||
});
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -38,5 +38,4 @@ describe('ContainerColumnModel', () => {
|
||||
column.fields = [new FormFieldModel(new FormModel(), null)];
|
||||
expect(column.hasFields()).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -73,5 +73,4 @@ describe('ContainerWidgetComponentModel', () => {
|
||||
}));
|
||||
expect(container.isCollapsedByDefault()).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -26,5 +26,4 @@ describe('ContainerModel', () => {
|
||||
const model = new ContainerModel(new FormFieldModel(form));
|
||||
expect(model.form).toBe(form);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -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();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -41,5 +41,4 @@ describe('FormOutcomeModel', () => {
|
||||
const model = new FormOutcomeModel(null, json);
|
||||
expect(model.json).toBe(json);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -37,5 +37,4 @@ describe('FormWidgetModel', () => {
|
||||
const model = new FormWidgetModelMock(null, json);
|
||||
expect(model.json).toBe(json);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -70,5 +70,4 @@ describe('TabModel', () => {
|
||||
const model = new TabModel(null, json);
|
||||
expect(model.json).toBe(json);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -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'}};
|
||||
|
@@ -37,5 +37,4 @@ describe('AmountEditorComponent', () => {
|
||||
editor.onValueChanged(row, column, event);
|
||||
expect(row.value[column.id]).toBe(value);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -36,5 +36,4 @@ describe('BooleanEditorComponent', () => {
|
||||
component.onValueChanged(row, column, event);
|
||||
expect(row.value[column.id]).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -143,7 +143,5 @@ describe('DateEditorComponent', () => {
|
||||
const actual = row.value[column.id];
|
||||
expect(actual).toBe('');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -85,5 +85,4 @@ describe('DateTimeEditorComponent', () => {
|
||||
|
||||
expect(table.flushValue).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -301,7 +301,5 @@ describe('DropdownEditorComponent', () => {
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -78,5 +78,4 @@ describe('RowEditorComponent', () => {
|
||||
component.onSaveChanges();
|
||||
expect(raised).toBeFalsy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -37,5 +37,4 @@ describe('TextEditorComponent', () => {
|
||||
editor.onValueChanged(row, column, event);
|
||||
expect(row.value[column.id]).toBe(value);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -270,5 +270,4 @@ describe('PeopleWidgetComponent', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -156,6 +156,5 @@ describe('TabsWidgetComponent', () => {
|
||||
});
|
||||
tabWidgetComponent.tabChanged(null);
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -411,7 +411,5 @@ describe('UploadWidgetComponent', () => {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -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();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -128,5 +128,4 @@ describe('FormRenderingService', () => {
|
||||
const type = resolver(null);
|
||||
expect(type).toBe(JsonWidgetComponent);
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -461,6 +461,5 @@ describe('Form service', () => {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -93,5 +93,4 @@ describe('LoginDialogPanelComponent', () => {
|
||||
fixture.detectChanges();
|
||||
expect(component.isValid()).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -498,8 +498,7 @@ describe('LoginComponent', () => {
|
||||
|
||||
loginWithCredentials('fake-username-ECM-access-error', 'fake-password');
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should trim the username value', () => {
|
||||
usernameInput.value = 'username ';
|
||||
@@ -541,8 +540,7 @@ describe('LoginComponent', () => {
|
||||
});
|
||||
|
||||
loginWithCredentials('fake-username', 'fake-password');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should emit success event after the login has succeeded and discard password', async(() => {
|
||||
spyOn(authService, 'login').and.returnValue(of({ type: 'type', ticket: 'ticket' }));
|
||||
|
@@ -189,5 +189,4 @@ describe('NotificationService', () => {
|
||||
|
||||
expect(document.querySelector('snack-bar-container')).not.toBeNull();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -87,5 +87,4 @@ describe('FileSizePipe', () => {
|
||||
expect(pipe.transform(size, precision)).toBe(expectancy);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -30,5 +30,4 @@ describe('FileTypePipe', () => {
|
||||
it('should return file type from alt text', () => {
|
||||
expect(pipe.transform(altText)).toBe('word');
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -30,8 +30,7 @@ describe('FullNamePipe', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
pipe = TestBed.get(MultiValuePipe);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should add the separator when a list is provided', () => {
|
||||
const values = ['cat', 'house', 'dog'];
|
||||
|
@@ -197,5 +197,4 @@ describe('AuthGuardService ECM', () => {
|
||||
|
||||
expect(materialDialog.closeAll).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -181,5 +181,4 @@ describe('Auth Guard SSO role service', () => {
|
||||
expect(authGuard.canActivate(route)).toBeFalsy();
|
||||
expect(materialDialog.closeAll).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -501,5 +501,4 @@ describe('AuthenticationService', () => {
|
||||
expect(authService.isALLProvider()).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -134,8 +134,7 @@ describe('Comment ProcessService Service', () => {
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Task comments', () => {
|
||||
|
||||
|
@@ -173,5 +173,4 @@ describe('Discovery Api Service', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -90,8 +90,7 @@ describe('JwtHelperService', () => {
|
||||
const result = jwtHelperService.hasRealmRoles(['role3', 'role2']);
|
||||
expect(result).toBeFalsy();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('ClientRole ', () => {
|
||||
|
||||
@@ -138,7 +137,5 @@ describe('JwtHelperService', () => {
|
||||
const result = jwtHelperService.hasRealmRolesForClientRole('fakeapp', ['role1', 'role2']);
|
||||
expect(result).toBeFalsy();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -163,6 +163,5 @@ describe('PeopleProcessService', () => {
|
||||
spyOn(apiService.getInstance(), 'getEcmUsername').and.returnValue('banana-user');
|
||||
expect(service.isLocked(nodeOwnerAllowedLockWithActiveExpiration)).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -59,5 +59,4 @@ describe('LoginDialogService', () => {
|
||||
service.close();
|
||||
expect(materialDialog.closeAll).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -105,5 +105,4 @@ describe('Sites service', () => {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -55,5 +55,4 @@ describe('ThumbnailService', () => {
|
||||
spyOn(apiService.contentApi, 'getDocumentThumbnailUrl').and.returnValue('/fake-thumbnail.png');
|
||||
expect(service.getDocumentThumbnailUrl('some-id')).toContain('/fake-thumbnail.png');
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -54,5 +54,4 @@ describe('TranslateLoader', () => {
|
||||
customLoader.registerProvider('login', 'path/login');
|
||||
expect(customLoader.providerRegistered('login')).toBeTruthy();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -98,5 +98,4 @@ describe('TranslationService', () => {
|
||||
expect(translationService.instant('')).toEqual('');
|
||||
expect(translationService.instant(undefined)).toEqual('');
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -89,8 +89,7 @@ describe('HostSettingsComponent', () => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('BPM ', () => {
|
||||
|
||||
@@ -143,8 +142,7 @@ describe('HostSettingsComponent', () => {
|
||||
expect(ecmUrlInput).toEqual(null);
|
||||
expect(bpmUrlInput).toBeDefined();
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('ECM ', () => {
|
||||
|
||||
@@ -266,8 +264,7 @@ describe('HostSettingsComponent', () => {
|
||||
ecmUrlInput.value = url;
|
||||
bpmUrlInput.dispatchEvent(new Event('input'));
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('OAUTH ', () => {
|
||||
|
||||
@@ -383,7 +380,5 @@ describe('HostSettingsComponent', () => {
|
||||
clientIdInput.value = '';
|
||||
clientIdInput.dispatchEvent(new Event('input'));
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -44,5 +44,4 @@ describe('SortingPickerComponent', () => {
|
||||
});
|
||||
component.toggleSortDirection();
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -308,8 +308,7 @@ describe('User info component', () => {
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('when user is logged on bpm', () => {
|
||||
|
||||
|
@@ -350,7 +350,5 @@ describe('Test Img viewer component ', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -64,5 +64,4 @@ describe('PdfThumbComponent', () => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
@@ -186,8 +186,7 @@ describe('Test PdfViewer component', () => {
|
||||
component.ngOnChanges({ 'blobFile': change });
|
||||
}).toThrow(new Error('Attribute urlFile or blobFile is required'));
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('View with url file', () => {
|
||||
|
||||
@@ -676,8 +675,7 @@ describe('Test PdfViewer component', () => {
|
||||
expect(componentUrlTestComponent.pdfViewerComponent.currentScaleMode).toBe('auto');
|
||||
}));
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Zoom customization', () => {
|
||||
|
||||
|
@@ -69,6 +69,5 @@ describe('Text View component', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -351,8 +351,7 @@ describe('ViewerComponent', () => {
|
||||
done();
|
||||
});
|
||||
}, 25000);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('should change display name every time node changes', fakeAsync(() => {
|
||||
spyOn(alfrescoApiService.nodesApi, 'getNode').and.returnValues(
|
||||
@@ -919,8 +918,7 @@ describe('ViewerComponent', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Viewer component - Full Screen Mode - Mocking fixture element', () => {
|
||||
|
||||
@@ -977,5 +975,4 @@ describe('ViewerComponent', () => {
|
||||
expect(domElement.msRequestFullscreen).toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user