mirror of
https://github.com/wassname/talk.git
synced 2026-07-31 12:50:48 +08:00
Merged branch master into suspect-wordlist
This commit is contained in:
@@ -21,7 +21,8 @@ describe('coral-plugin-history/Comment', () => {
|
||||
it('should render the asset url as a link', () => {
|
||||
const wrapper = mount(<Comment asset={asset} comment={comment} />);
|
||||
expect(wrapper.find('.myCommentAnchor')).to.have.length(1);
|
||||
expect(wrapper.find('.myCommentAnchor').text()).to.equal('https://google.com#123');
|
||||
expect(wrapper.find('.myCommentAnchor').text()).to.equal('https://google.com');
|
||||
expect(wrapper.find('.myCommentAnchor').props().href).to.equal('https://google.com#123');
|
||||
});
|
||||
|
||||
it('should render the comment with styles', () => {
|
||||
|
||||
Reference in New Issue
Block a user