graycoreio/daffodil

View on GitHub
libs/navigation/driver/testing/src/navigation-driver.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { CommonModule } from '@angular/common';
import {
  NgModule,
  ModuleWithProviders,
} from '@angular/core';

import { provideDaffNavigationDriver } from '@daffodil/navigation/driver';

import { DaffTestingNavigationService } from './navigation.service';

@NgModule({
  imports: [
    CommonModule,
  ],
})
export class DaffNavigationTestingDriverModule {
  static forRoot(): ModuleWithProviders<DaffNavigationTestingDriverModule> {
    return {
      ngModule: DaffNavigationTestingDriverModule,
      providers: [
        provideDaffNavigationDriver(DaffTestingNavigationService),
      ],
    };
  }
}