From fdf5b1403c47563930c8e43e4dc8b5b9518c8059 Mon Sep 17 00:00:00 2001 From: elweyn Date: Mon, 13 Mar 2023 15:37:28 +0100 Subject: [PATCH] fix linting rules --- webapp/components/features/ProfileList/FollowList.spec.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/components/features/ProfileList/FollowList.spec.js b/webapp/components/features/ProfileList/FollowList.spec.js index 1c657402f..3398b0993 100644 --- a/webapp/components/features/ProfileList/FollowList.spec.js +++ b/webapp/components/features/ProfileList/FollowList.spec.js @@ -74,7 +74,9 @@ describe('FollowList.vue', () => { expect(wrapper.vm.allConnectionsCount).toBe(user.followingCount) expect(wrapper.findAll('.user-teaser')).toHaveLength(user.following.length) - expect(wrapper.emitted('fetchAllConnections')).toEqual([['following', user['followingCount']]]) + expect(wrapper.emitted('fetchAllConnections')).toEqual([ + ['following', user.followingCount], + ]) }) }) @@ -85,7 +87,9 @@ describe('FollowList.vue', () => { expect(wrapper.vm.allConnectionsCount).toBe(user.followedByCount) expect(wrapper.findAll('.user-teaser')).toHaveLength(user.followedBy.length) - expect(wrapper.emitted('fetchAllConnections')).toEqual([['followedBy', user['followedByCount']]]) + expect(wrapper.emitted('fetchAllConnections')).toEqual([ + ['followedBy', user.followedByCount], + ]) }) }) })