aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-01-26 13:51:07 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-01-26 13:51:07 +0000
commitefad3ad0a51273e192590761b905d4db7d76bf71 (patch)
tree0c87190439d8fa6cadcc71623769e5c1cca79b80 /test
parent7b296696a3cf83b93b1f8246b114e05dcee4e040 (diff)
attempt to fix tests
Diffstat (limited to 'test')
-rw-r--r--test/unit/specs/components/user_profile.spec.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/unit/specs/components/user_profile.spec.js b/test/unit/specs/components/user_profile.spec.js
index cde39245..41fd9cd0 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
}
}
},