Forked from
funkwhale / funkwhale
7201 commits behind the upstream repository.
-
Eliot Berriot authoredVerified083b7b8e
common.spec.js 268 B
import Username from '@/components/common/Username.vue'
import { render } from '../../utils'
describe('Username', () => {
it('displays username', () => {
const vm = render(Username, {username: 'Hello'})
expect(vm.$el.textContent).to.equal('Hello')
})
})