diff --git a/webapp/components/ContributionForm/ContributionForm.spec.js b/webapp/components/ContributionForm/ContributionForm.spec.js index 3d136ff4b..e303216f1 100644 --- a/webapp/components/ContributionForm/ContributionForm.spec.js +++ b/webapp/components/ContributionForm/ContributionForm.spec.js @@ -14,6 +14,8 @@ localVue.use(Styleguide) localVue.use(Filters) config.stubs['no-ssr'] = '' +config.stubs['nuxt-link'] = '' +config.stubs['v-popover'] = '' describe('ContributionForm.vue', () => { let wrapper @@ -71,6 +73,13 @@ describe('ContributionForm.vue', () => { 'editor/placeholder': () => { return 'some cool placeholder' }, + 'auth/user': () => { + return { + id: '4711', + name: 'You yourself', + slug: 'you-yourself', + } + }, } const store = new Vuex.Store({ getters,