Skip to content

Commit

Permalink
美化提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Kat5ura authored and liuqi453 committed Mar 6, 2017
1 parent ae81694 commit 94e0d54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions generators/app/templates/test/unit/specs/Hello.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import Vue from 'vue'
import Hello from 'src/components/Hello'
import App from 'src/App'

describe('Hello.vue', () => {
describe('App.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Hello)
const Constructor = Vue.extend(App)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Welcome to Your Vue.js App')
expect(vm.$el.querySelector('#main h1').textContent)
.to.equal('登录')
})
})

0 comments on commit 94e0d54

Please sign in to comment.