MockDaffCartWithStoreCredit
Mock class for DaffCartWithStoreCredit
.
import { MockDaffCartWithStoreCredit } from '@daffodil/cart-store-credit/testing'
class MockDaffCartWithStoreCredit extends MockCart implements DaffCartWithStoreCredit {
appliedStoreCredit: faker.datatype.number({ min: 0, max: 1000 })
}
Properties
Name | Type | Description |
---|---|---|
appliedStoreCredit | faker.datatype.number({ min: 0, max: 1000 }) |