libs/navigation/driver/testing/src/navigation-driver.module.ts
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),
],
};
}
}