graycoreio/daffodil

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

Summary

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

import {
  DaffSearchIncrementalFacade,
  DaffSearchPageFacade,
} from '@daffodil/search/state';

import { MockDaffSearchFacade } from './mock-search-facade';

/**
 * Provides the {@link MockDaffSearchFacade} for {@link DaffSearchFacade}.
 */
@NgModule({
  providers: [
    { provide: DaffSearchPageFacade, useExisting: MockDaffSearchFacade },
    { provide: DaffSearchIncrementalFacade, useExisting: MockDaffSearchFacade },
  ],
})
export class DaffSearchStateTestingModule {}