diff --git a/tests/client/coral-plugin-history/Comment.spec.js b/tests/client/coral-plugin-history/Comment.spec.js index 2098fa1b3..78ad104bf 100644 --- a/tests/client/coral-plugin-history/Comment.spec.js +++ b/tests/client/coral-plugin-history/Comment.spec.js @@ -21,7 +21,8 @@ describe('coral-plugin-history/Comment', () => { it('should render the asset url as a link', () => { const wrapper = mount(); 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', () => {