graycoreio/daffodil

View on GitHub
libs/customer/state/testing/src/customer-testing.module.ts

Summary

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

import {
  DaffCustomerAddressPageFacade,
  DaffCustomerPageFacade,
} from '@daffodil/customer/state';

import { MockDaffCustomerAddressPageFacade } from './mock-address-facade';
import { MockDaffCustomerPageFacade } from './mock-customer-facade';

/**
 * Provides the {@link MockDaffCustomerPageFacade} for {@link DaffCustomerPageFacade}.
 */
@NgModule({
  providers: [
    { provide: DaffCustomerPageFacade, useExisting: MockDaffCustomerPageFacade },
    { provide: DaffCustomerAddressPageFacade, useExisting: MockDaffCustomerAddressPageFacade },
  ],
})
export class DaffCustomerStateTestingModule {}