import { MockDaffUpsellProductsFacade } from '@daffodil/upsell-products/state/testing'
Mocks the DaffUpsellProductsFacadeInterface
for testing purposes.
@Injectable()
class MockDaffUpsellProductsFacade implements DaffUpsellProductsFacadeInterface {
upsellProducts$: BehaviorSubject<DaffProduct[]> = new BehaviorSubject<DaffProduct[]>([])
dispatch(action): void
}
BehaviorSubject<DaffProduct[]>
Default | new BehaviorSubject<DaffProduct[]>([]) |
---|---|
Description | A list of upsell products of the current product. |
void
Parameter | action: undefined |
---|---|
Description |