Browse Source

test: implement new service to dynamic-layout.component

pull/6372/head
mehmet-erim 6 years ago
parent
commit
660a2b27b2
  1. 9
      npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts

9
npm/ng-packs/packages/core/src/lib/tests/dynamic-layout.component.spec.ts

@ -5,11 +5,8 @@ import { createRoutingFactory, SpectatorRouting } from '@ngneat/spectator/jest';
import { DynamicLayoutComponent, RouterOutletComponent } from '../components';
import { eLayoutType } from '../enums/common';
import { ABP } from '../models';
import {
ApplicationConfigurationService,
ReplaceableComponentsService,
RoutesService,
} from '../services';
import { AbpApplicationConfigurationService } from '../proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service';
import { ReplaceableComponentsService, RoutesService } from '../services';
import { mockRoutesService } from './routes.service.spec';
@Component({
@ -85,7 +82,7 @@ describe('DynamicLayoutComponent', () => {
component: RouterOutletComponent,
stubsEnabled: false,
declarations: [DummyComponent, DynamicLayoutComponent],
mocks: [ApplicationConfigurationService, HttpClient],
mocks: [AbpApplicationConfigurationService, HttpClient],
providers: [
{
provide: RoutesService,

Loading…
Cancel
Save