libs/navigation/state/testing/src/navigation-testing.module.ts
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { DaffNavigationFacade } from '@daffodil/navigation/state';
import { MockDaffNavigationFacade } from './mock-navigation.facade';
/**
* The DaffNavigationStateTestingModule provides a mock for the DaffNavigationFacade. This makes testing much simpler
* by removing any interaction with the ngrx store.
*/
@NgModule({
imports: [
CommonModule,
],
providers: [
{ provide: DaffNavigationFacade, useExisting: MockDaffNavigationFacade },
],
})
export class DaffNavigationStateTestingModule {}