GitHub

DaffCartItemFactory

import { DaffCartItemFactory } from '@daffodil/cart/testing'

@Injectable()
class DaffCartItemFactory extends DaffModelFactory<DaffCartItem> {
  fromProduct(product: DaffProduct): DaffCartItem
}

() Methods

fromProduct
DaffCartItem
Parameters
Parameterproduct: DaffProduct
Description