MockProductReview

Mocked DaffProductReview object.

Properties

Name Type Description
overallRating faker.datatype.number({ min: 1, max: 100 })
id faker.datatype.uuid()
productId faker.datatype.uuid()
createdAt faker.date.past(10).toISOString()
title faker.random.word()
body faker.random.words(10)
ratings this.createRatings()
customer this.createCustomer()
ratingFactory DaffReviewRatingFactory
customerFactory DaffProductReviewCustomerFactory
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.