Fixed broken unit tests due to front-end cleanup

This commit is contained in:
Eliot Berriot 2018-08-11 17:58:51 +02:00
parent e3040de444
commit a8a609155b
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
23 changed files with 559 additions and 340 deletions

View file

@ -0,0 +1,12 @@
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')
})
})