mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
7358563b09
commit
5c4a18dd48
@@ -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();
|
||||
|
Reference in New Issue
Block a user