mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 21:17:55 +08:00
fix test error in phantomjs
This commit is contained in:
parent
056cb7f295
commit
dc76830b7b
@ -129,6 +129,9 @@ describe('Directive v-model text', () => {
|
||||
|
||||
it('warn invalid tag', () => {
|
||||
new Vue({
|
||||
data: {
|
||||
test: 'foo'
|
||||
},
|
||||
template: '<div v-model="test"></div>'
|
||||
}).$mount()
|
||||
expect('v-model is not supported on element type: <div>').toHaveBeenWarned()
|
||||
|
Loading…
Reference in New Issue
Block a user