dependencies dependencies cluster_TestingModule cluster_TestingModule_imports cluster_TestingModule_exports MaterialModule MaterialModule TestingModule TestingModule MaterialModule->TestingModule MaterialModule MaterialModule TestingModule->MaterialModule

File

src/testing/testing.module.ts

Imports

Exports

import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { MaterialModule } from '../app/shared/material.module';
import { RouterTestingModule } from '@angular/router/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';

import { HelperService } from '../app/shared/helper.service';
import { HelperServiceStub } from './stubs';

@NgModule({
  imports: [
    HttpClientModule,
    MaterialModule,
    RouterTestingModule,
    NoopAnimationsModule,
  ],
  providers: [
    {
      provide: HelperService,
      useValue: HelperServiceStub,
    },
  ],
  exports: [
    HttpClientModule,
    MaterialModule,
    RouterTestingModule,
    NoopAnimationsModule,
  ],
})
export class TestingModule {}

results matching ""

    No results matching ""