mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-04 06:32:23 +03:00
Modified spec to include warning of defective options objects
This commit is contained in:
@@ -761,7 +761,7 @@ describe('Select.vue', () => {
|
||||
}).$mount()
|
||||
Vue.nextTick(() => {
|
||||
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'
|
||||
)
|
||||
done()
|
||||
|
||||
Reference in New Issue
Block a user