mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[no-issue] Fix translate module - 1st iteration (#4290)
* [no-issue] Fix translate module - 1st iteration * restore translate exports * move i18n to the app level, fix lazy loading * improve i18n imports * update unit tests * fix unit tests * test fixes
This commit is contained in:
committed by
Eugenio Romano
parent
0683c4d226
commit
7bf5e59740
@@ -21,7 +21,7 @@ import { ContentModule, ContentNodeSelectorPanelComponent } from '@alfresco/adf-
|
||||
import { EventEmitter } from '@angular/core';
|
||||
import { ProcessTestingModule } from '../testing/process.testing.module';
|
||||
import { AttachFileWidgetDialogComponent } from './attach-file-widget-dialog.component';
|
||||
import { setupTestBed, AuthenticationService, SitesService } from '@alfresco/adf-core';
|
||||
import { setupTestBed, AuthenticationService, SitesService, CoreModule } from '@alfresco/adf-core';
|
||||
import { AttachFileWidgetDialogComponentData } from './attach-file-widget-dialog-component.interface';
|
||||
import { RouterTestingModule } from '@angular/router/testing';
|
||||
import { of } from 'rxjs';
|
||||
@@ -46,6 +46,7 @@ describe('AttachFileWidgetDialogComponent', () => {
|
||||
|
||||
setupTestBed({
|
||||
imports: [
|
||||
CoreModule.forRoot(),
|
||||
ProcessTestingModule,
|
||||
ContentModule.forRoot(),
|
||||
RouterTestingModule
|
||||
|
Reference in New Issue
Block a user