[ADF-2531] support for AoT and production builds (#3110)

* fix translation for Core module

* fix datatable reference

* fix issue with duplicate pipe and i18n error

* fixes for upload service cutomisation (process services)

* demo shell fixes

* fix search component

* remove unused declaration

* update tests

* remove fdescribe
This commit is contained in:
Denys Vuika
2018-03-22 10:43:56 +00:00
committed by Eugenio Romano
parent 7358563b09
commit 5c4a18dd48
13 changed files with 52 additions and 55 deletions

View File

@@ -17,8 +17,7 @@
import { SimpleChange } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ProcessContentService } from '@alfresco/adf-core';
import { TranslationService } from '@alfresco/adf-core';
import { ProcessContentService, CoreModule } from '@alfresco/adf-core';
import { CreateProcessAttachmentComponent } from './create-process-attachment.component';
declare let jasmine: any;
@@ -50,12 +49,12 @@ describe('Activiti Process Create Attachment', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
CoreModule.forRoot()
],
declarations: [
CreateProcessAttachmentComponent
],
providers: [
{ provide: TranslationService },
ProcessContentService
]
}).compileComponents();