MockDaffRelatedProductsFacade
Mocks the DaffRelatedProductsFacadeInterface
for testing purposes.
import { MockDaffRelatedProductsFacade } from '@daffodil/related-products/state/testing'
@Injectable()
class MockDaffRelatedProductsFacade implements DaffRelatedProductsFacadeInterface {
relatedProducts$: BehaviorSubject<DaffProduct[]>
dispatch(action)
}
Properties
Name | Type | Description |
---|---|---|
relatedProducts$ | BehaviorSubject<DaffProduct[]> | A list of related products of the current product. |
dispatch |