mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
Modified spec to include warning of defective options objects
This commit is contained in:
@@ -761,7 +761,7 @@ describe('Select.vue', () => {
|
|||||||
}).$mount()
|
}).$mount()
|
||||||
Vue.nextTick(() => {
|
Vue.nextTick(() => {
|
||||||
expect(console.warn).toHaveBeenCalledWith(
|
expect(console.warn).toHaveBeenCalledWith(
|
||||||
'[vue-select warn]: Label key "option.label" does not exist in options object.' +
|
'[vue-select warn]: Label key "option.label" does not exist in options object {}.' +
|
||||||
'\nhttp://sagalbot.github.io/vue-select/#ex-labels'
|
'\nhttp://sagalbot.github.io/vue-select/#ex-labels'
|
||||||
)
|
)
|
||||||
done()
|
done()
|
||||||
|
|||||||
Reference in New Issue
Block a user