Files
talk/client/coral-plugin-commentcontent/__tests__/commentContent.spec.js
T
2016-11-01 13:50:49 -07:00

12 lines
331 B
JavaScript

import React from 'react'
import {shallow, mount} 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
})
})