Fix: naming conventions

Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
Raphael Beer 2020-03-27 09:03:25 +01:00 committed by GitHub
parent 1ac34a8fba
commit e516ae93a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ describe('FollowList.vue', () => {
it(`has a button to load all remaining users ${type}`, async () => {
jest.useFakeTimers()
wrapper.find('button').trigger('click')
wrapper.find('.base-button').trigger('click')
await jest.runAllTicks()
await wrapper.vm.$nextTick()
@ -112,7 +112,7 @@ describe('FollowList.vue', () => {
})
})
it('displays ne no-follower message', () => {
it('displays the no-follower message', () => {
expect(wrapper.find('.no-connections').text()).toBe(
`${propsData.user.name} ${wrapper.vm.$t()}`,
)

View File

@ -1,6 +1,6 @@
<template>
<base-card class="hc-connections">
<ds-space v-if="this.connections && this.connections.length" margin="x-small">
<base-card class="follow-list">
<ds-space v-if="connections && connections.length" margin="x-small">
<ds-text tag="h5" color="soft">
{{ userName | truncate(15) }} {{ $t(`profile.network.${type}`) }}
</ds-text>