MockOrderShipmentItem
import { MockOrderShipmentItem } from '@daffodil/order/testing'
class MockOrderShipmentItem implements DaffOrderShipmentItem {
item: this.itemFactory.create()
qty: faker.datatype.number({ min: 1, max: 100 })
}
Properties
Name | Type | Description |
---|---|---|
item | this.itemFactory.create() | |
qty | faker.datatype.number({ min: 1, max: 100 }) |