fix linting rules

This commit is contained in:
elweyn 2023-03-13 15:37:28 +01:00
parent b15d2ff252
commit fdf5b1403c

View File

@ -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],
])
})
})
})