import Reviews from './Reviews';
import { createReview, createUser } from '../../util/test-data';

export const WithNoReviews = {
  component: Reviews,
  props: {
    reviews: [],
  },
};

export const WithThreeReviews = {
  component: Reviews,
  props: {
    reviews: [
      createReview('review_1', { rating: 1 }, { author: createUser('author_1') }),
      createReview('review_2', { rating: 3 }, { author: createUser('author_2') }),
      createReview('review_3', { rating: 5 }, { author: createUser('author_3') }),
    ],
  },
};
