[ADF-2569] fix reload app.config.json (#3124)

* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
This commit is contained in:
Eugenio Romano
2018-03-28 11:01:04 +01:00
committed by Denys Vuika
parent 21b8cd30ce
commit 9e2969b955
93 changed files with 228 additions and 436 deletions

View File

@@ -1,6 +1,12 @@
adf-upload-drag-area {
overflow: hidden;
}
.upload-border {
vertical-align: middle;
text-align: center;
width: 100%;
box-sizing: border-box;
}
.file-draggable__input-focus {

View File

@@ -16,7 +16,7 @@
*/
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FileModel, LogService, UploadService } from '@alfresco/adf-core';
import { FileModel, UploadService } from '@alfresco/adf-core';
import { FileDraggableDirective } from '../directives/file-draggable.directive';
import { UploadDragAreaComponent } from './upload-drag-area.component';
@@ -63,14 +63,12 @@ describe('UploadDragAreaComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
FileDraggableDirective,
UploadDragAreaComponent
],
providers: [
UploadService,
LogService
UploadService
]
}).compileComponents();
}));

View File

@@ -32,6 +32,7 @@ import { UploadBase } from './base-upload/upload-base';
selector: 'adf-upload-drag-area',
templateUrl: './upload-drag-area.component.html',
styleUrls: ['./upload-drag-area.component.css'],
host: {'class': 'adf-upload-drag-area'},
viewProviders: [
{ provide: EXTENDIBLE_COMPONENT, useExisting: forwardRef(() => UploadDragAreaComponent) }
],