Add tests for youtube-player.vue

This commit is contained in:
Phan An 2017-12-18 23:28:49 +01:00
parent 1ea443c727
commit af01b0b1b6

View file

@ -0,0 +1,9 @@
import Component from '@/components/main-wrapper/main-content/youtube-player.vue'
import { event } from '@/utils'
describe('components/main-wrapper/main-content/youtube-player', () => {
it('renders properly', () => {
const wrapper = mount(Component)
wrapper.find('h1.heading').text().should.contain('YouTube Video')
})
})