diff --git a/webapp/components/CommentList/CommentList.spec.js b/webapp/components/CommentList/CommentList.spec.js index 460f1a4ea..4d382b36d 100644 --- a/webapp/components/CommentList/CommentList.spec.js +++ b/webapp/components/CommentList/CommentList.spec.js @@ -1,6 +1,5 @@ import { config, mount, createLocalVue } from '@vue/test-utils' import CommentList from './CommentList' -import Empty from '~/components/Empty' import Vuex from 'vuex' import Styleguide from '@human-connection/styleguide' import Filters from '~/plugins/vue-filters' @@ -70,11 +69,6 @@ describe('CommentList.vue', () => { wrapper = Wrapper() }) - it('displays a message icon when there are no comments to display', () => { - propsData.post.comments = [] - expect(Wrapper().findAll(Empty)).toHaveLength(1) - }) - it('displays a comments counter', () => { expect(wrapper.find('span.ds-tag').text()).toEqual('1') }) diff --git a/webapp/components/CommentList/CommentList.vue b/webapp/components/CommentList/CommentList.vue index 17da8dda4..b3caf9009 100644 --- a/webapp/components/CommentList/CommentList.vue +++ b/webapp/components/CommentList/CommentList.vue @@ -12,7 +12,7 @@ > {{ post.comments.length }} -   Comments + {{ $t('common.comment', null, 0) }} @@ -26,17 +26,14 @@ @updateComment="updateCommentList" /> - + +