From efad3ad0a51273e192590761b905d4db7d76bf71 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 26 Jan 2019 13:51:07 +0000 Subject: [PATCH] attempt to fix tests --- .../specs/components/user_profile.spec.js | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/test/unit/specs/components/user_profile.spec.js b/test/unit/specs/components/user_profile.spec.js index cde39245cf..41fd9cd01e 100644 --- a/test/unit/specs/components/user_profile.spec.js +++ b/test/unit/specs/components/user_profile.spec.js @@ -66,6 +66,22 @@ const externalProfileStore = new Vuex.Store({ viewing: 'statuses', userId: 100, flushMarker: 0 + }, + media: { + statuses: [], + statusesObject: {}, + faves: [], + visibleStatuses: [], + visibleStatusesObject: {}, + newStatusCount: 0, + maxId: 0, + minVisibleId: 0, + loading: false, + followers: [], + friends: [], + viewing: 'statuses', + userId: 100, + flushMarker: 0 } } }, @@ -116,6 +132,22 @@ const localProfileStore = new Vuex.Store({ viewing: 'statuses', userId: 100, flushMarker: 0 + }, + media: { + statuses: [], + statusesObject: {}, + faves: [], + visibleStatuses: [], + visibleStatusesObject: {}, + newStatusCount: 0, + maxId: 0, + minVisibleId: 0, + loading: false, + followers: [], + friends: [], + viewing: 'statuses', + userId: 100, + flushMarker: 0 } } },