kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
13 wiersze
297 B
JavaScript
13 wiersze
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')
|
|
})
|
|
})
|