From 3703fc787ad36b2620783bfe66f6721dc0da9881 Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Mon, 19 Aug 2019 16:23:38 +0100 Subject: [PATCH] =?UTF-8?q?fix=20lint=20errors=20=E2=80=93=20thanks=20gith?= =?UTF-8?q?ub=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MasonryGrid/MasonryGridItem.spec.js | 4 +- webapp/components/PostCard/index.vue | 38 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/webapp/components/MasonryGrid/MasonryGridItem.spec.js b/webapp/components/MasonryGrid/MasonryGridItem.spec.js index f3ae5b906..ba22380ae 100644 --- a/webapp/components/MasonryGrid/MasonryGridItem.spec.js +++ b/webapp/components/MasonryGrid/MasonryGridItem.spec.js @@ -1,11 +1,11 @@ -import { mount } from '@vue/test-utils' +import { shallowMount } from '@vue/test-utils' import MasonryGridItem from './MasonryGridItem' describe('MasonryGridItem', () => { let wrapper beforeEach(() => { - wrapper = mount(MasonryGridItem) + wrapper = shallowMount(MasonryGridItem) wrapper.vm.$parent.$emit = jest.fn() }) diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index c77b810fa..c0cc1a9a6 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -44,25 +44,25 @@
- - - - {{ post.shoutedCount }} - -   - - - - {{ post.commentedCount }} - - - -
+ + + + {{ post.shoutedCount }} + +   + + + + {{ post.commentedCount }} + + + +