mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 05:27:59 +08:00
fix test in phantomjs
This commit is contained in:
parent
2a09188e01
commit
7913a96ccb
@ -92,7 +92,7 @@ describe('Options directives', () => {
|
|||||||
|
|
||||||
it('warn non-existent', () => {
|
it('warn non-existent', () => {
|
||||||
new Vue({
|
new Vue({
|
||||||
template: '<div v-test="a"></div>'
|
template: '<div v-test></div>'
|
||||||
}).$mount()
|
}).$mount()
|
||||||
expect('Failed to resolve directive: test').toHaveBeenWarned()
|
expect('Failed to resolve directive: test').toHaveBeenWarned()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user