mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Fix lint
This commit is contained in:
parent
deb8c44e45
commit
5465399eda
@ -34,7 +34,7 @@ export default Vue.extend({
|
|||||||
const h = this.$createElement
|
const h = this.$createElement
|
||||||
const vnode = h('div', {}, [
|
const vnode = h('div', {}, [
|
||||||
h('p', message),
|
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' })
|
this.$alert('', { message: vnode, type: 'warning' })
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ test('enable plugin', async () => {
|
|||||||
)
|
)
|
||||||
expect(Vue.prototype.$alert).toBeCalledWith('', ({
|
expect(Vue.prototype.$alert).toBeCalledWith('', ({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: expect.anything()
|
message: expect.anything(),
|
||||||
}))
|
}))
|
||||||
|
|
||||||
wrapper.findAll('.actions').at(1)
|
wrapper.findAll('.actions').at(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user