Fix lint
This commit is contained in:
parent
deb8c44e45
commit
5465399eda
|
|
@ -34,7 +34,7 @@ export default Vue.extend({
|
|||
const h = this.$createElement
|
||||
const vnode = h('div', {}, [
|
||||
h('p', message),
|
||||
h('ul', {}, reason.map(item => h('li', item)))
|
||||
h('ul', {}, reason.map(item => h('li', item))),
|
||||
])
|
||||
this.$alert('', { message: vnode, type: 'warning' })
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ test('enable plugin', async () => {
|
|||
)
|
||||
expect(Vue.prototype.$alert).toBeCalledWith('', ({
|
||||
type: 'warning',
|
||||
message: expect.anything()
|
||||
message: expect.anything(),
|
||||
}))
|
||||
|
||||
wrapper.findAll('.actions').at(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user