mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 13:09:16 +02:00
12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
import {expect} from 'chai'
|
|
|
|
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')
|
|
})
|
|
})
|