GitHub

MockDaffCustomerAddress

class

import { MockDaffCustomerAddress } from '@daffodil/customer/testing'

Mock class for DaffCustomerAddress.

class MockDaffCustomerAddress extends MockDaffPersonalAddress implements DaffCustomerAddress {
  id: faker.string.uuid() = faker.string.uuid()
  defaultBilling: faker.datatype.boolean() = faker.datatype.boolean()
  defaultShipping: faker.datatype.boolean() = faker.datatype.boolean()
}