Files
talk/client/coral-plugin-commentcontent/__tests__/commentContent.spec.js
T
2016-11-08 17:16:24 -07:00

12 lines
332 B
JavaScript

import React from 'react';
import {shallow} from 'enzyme';
import {expect} from 'chai';
import CommentContent from '../CommentContent';
describe('CommentContent', () => {
it('should render content', () => {
const render = shallow(<CommentContent content="test"/>);
expect(render.contains('test')).to.be.truthy;
});
});