Sha256: 2f5f953491d3951daa4d80a89a10a9c39f83b466daf121d1d9edd8720af62db1
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
import { shallow } from 'enzyme'; import CommentOrderSelector from './comment_order_selector.component'; describe('<CommentOrderSelector />', () => { it("renders a div with classes order-by__dropdown order-by__dropdown--right", () => { const wrapper = shallow(<CommentOrderSelector />); expect(wrapper.find('div.order-by__dropdown.order-by__dropdown--right')).to.present(); }) })
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
decidim-comments-0.0.1 | app/frontend/comments/comment_order_selector.component.test.jsx |
decidim-0.0.1 | decidim-comments/app/frontend/comments/comment_order_selector.component.test.jsx |