import { Comment , CommentsArray } from '.' ; import { DATE_NOW , ID , USER } from '../../constants/index.mock' ; export const getCommentsMock = ( ) : Comment => ( { comment : 'some old comment' , created_at : DATE_NOW , created_by : USER , id : ID , } ) ; export const getCommentsArrayMock = ( ) : CommentsArray => [ getCommentsMock ( ) , getCommentsMock ( ) ] ;