GitHub

MockCategoryBreadcrumb

import { MockCategoryBreadcrumb } from '@daffodil/category/testing'
class MockCategoryBreadcrumb implements DaffCategoryBreadcrumb {
  id: faker.datatype.uuid()
  name: faker.commerce.productMaterial()
  level: faker.datatype.number({ min: 1, max: 5 })
  url: faker.commerce.productMaterial()
}

Properties

Name Type Description
id faker.datatype.uuid()
name faker.commerce.productMaterial()
level faker.datatype.number({ min: 1, max: 5 })
url faker.commerce.productMaterial()