diff --git a/webapp/components/CommentCard/CommentCard.spec.js b/webapp/components/CommentCard/CommentCard.spec.js index 721120070..b18ab67c0 100644 --- a/webapp/components/CommentCard/CommentCard.spec.js +++ b/webapp/components/CommentCard/CommentCard.spec.js @@ -1,4 +1,4 @@ -import { config, shallowMount } from '@vue/test-utils' +import { config, mount } from '@vue/test-utils' import CommentCard from './CommentCard.vue' import Vuex from 'vuex' @@ -62,7 +62,7 @@ describe('CommentCard.vue', () => { const store = new Vuex.Store({ getters, }) - return shallowMount(CommentCard, { + return mount(CommentCard, { store, propsData, mocks, diff --git a/webapp/components/CommentCard/CommentCard.vue b/webapp/components/CommentCard/CommentCard.vue index e71ef29cc..573d1417b 100644 --- a/webapp/components/CommentCard/CommentCard.vue +++ b/webapp/components/CommentCard/CommentCard.vue @@ -46,7 +46,7 @@ circle size="small" v-scroll-to="'.editor'" - @click.prevent="reply" + @click="reply" /> diff --git a/webapp/components/CommentForm/CommentForm.vue b/webapp/components/CommentForm/CommentForm.vue index e0fe94b39..422530259 100644 --- a/webapp/components/CommentForm/CommentForm.vue +++ b/webapp/components/CommentForm/CommentForm.vue @@ -1,8 +1,7 @@ @@ -146,10 +145,13 @@ export default {