[ACA-2204] Upgrade to ADF 3.0.0 release (#949)

* upgrade to ADF 3.0.0

* update unit tests
This commit is contained in:
Denys Vuika
2019-02-14 07:34:12 +00:00
committed by GitHub
parent e0e2a61821
commit d32f4a7dc6
9 changed files with 26 additions and 28 deletions

View File

@@ -28,7 +28,7 @@ import { Overlay } from '@angular/cdk/overlay';
import { Injector } from '@angular/core';
import { Store } from '@ngrx/store';
import { of } from 'rxjs';
import { AppConfigService } from '@alfresco/adf-core';
import { CoreModule } from '@alfresco/adf-core';
import { ContextMenuService } from './context-menu.service';
import { ContextMenuModule } from './context-menu.module';
@@ -42,12 +42,8 @@ describe('ContextMenuService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [ContextMenuModule],
providers: [
Overlay,
{ provide: Store, useValue: { select: () => of() } },
{ provide: AppConfigService, useValue: {} }
]
imports: [CoreModule.forRoot(), ContextMenuModule],
providers: [Overlay, { provide: Store, useValue: { select: () => of() } }]
});
const injector = TestBed.get(Injector);