mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-983] User Preferences Service (#2044)
* user preferences service * unit tests and code improvements * fix tests * fix tests * fix tests * add missing production settings * readme updates * integrate with the core module
This commit is contained in:
committed by
Eugenio Romano
parent
ac9b660e83
commit
70a3c863e6
@@ -17,13 +17,13 @@
|
||||
|
||||
import { DebugElement } from '@angular/core';
|
||||
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { CoreModule, AppConfigModule } from 'ng2-alfresco-core';
|
||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||
import { WebscriptComponent } from '../src/webscript.component';
|
||||
|
||||
declare let jasmine: any;
|
||||
|
||||
describe('Test ng2-alfresco-webscript', () => {
|
||||
describe('WebscriptComponent', () => {
|
||||
|
||||
let component: WebscriptComponent;
|
||||
let fixture: ComponentFixture<WebscriptComponent>;
|
||||
@@ -34,6 +34,9 @@ describe('Test ng2-alfresco-webscript', () => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
CoreModule.forRoot(),
|
||||
AppConfigModule.forRoot('app.config.json', {
|
||||
ecmHost: 'http://localhost:9876/ecm'
|
||||
}),
|
||||
DataTableModule
|
||||
],
|
||||
declarations: [
|
||||
|
Reference in New Issue
Block a user