// import React from 'react';
import
{
// CommentListElement,
ICommentsSectionProps,
AllProps,
// CommentList,
// StyledEmptyContainer,
}
from 'CommentSection/components/CommentList';
// import { shallowWithIntl } from 'tests/utils/intl';
// import { setFeatures } from 'features';
describe('CommentSection', () => {
const commentProps: ICommentsSectionProps = {
comments: [],
users: [],
threadId: '',
replyUser: '',
};
// const comment = {
// message: 'hi',
// createdDate: '1/1/2018',
// author: 'Matt',
// isOwner: true,
// };
let props;
beforeAll(() => {
props = { ...commentProps } as unknown as AllProps;
props.fetchComments = jest.fn();
props.fetchUsers = jest.fn();
// setFeatures('COMMENTS', { USER_TAGGING: true, SEND_NOTIFICATIONS: true });
});
afterAll(() => {
// setFeatures('COMMENTS', { USER_TAGGING: false, SEND_NOTIFICATIONS: false });
});
// it('should render the component', () => {
// const renderedEl = shallowWithIntl();
// expect(renderedEl).toBeDefined();
// });
// it('should render the component', () => {
// props = { ...props, comments: [comment] };
// const renderedEl = shallowWithIntl();
// expect(renderedEl).toBeDefined();
// });
// it('should render the List', () => {
// const renderedEl = shallowWithIntl();
// expect(renderedEl).toBeDefined();
// });
// it('should render the empty view', () => {
// // const renderedEl = shallowWithIntl();
// const renderedEl = shallowWithIntl();
// expect(renderedEl).toBeDefined();
// });
});