2
0
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:
Unknown
2017-10-26 12:19:23 -04:00
parent 57c084dd8b
commit a7562402c7
+1 -1
View File
@@ -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()