mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
Merge branch 'master' into master
This commit is contained in:
@@ -1077,6 +1077,18 @@ describe('Select.vue', () => {
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
||||
it('will sync mutable loading with the loading prop', (done) => {
|
||||
const vm = new Vue({
|
||||
template: '<div><v-select ref="select" :loading="loading"></v-select></div>',
|
||||
data: {loading:false}
|
||||
}).$mount()
|
||||
vm.loading = true
|
||||
Vue.nextTick(() => {
|
||||
expect(vm.$refs.select.mutableLoading).toEqual(true)
|
||||
done()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('Reset on options change', () => {
|
||||
|
||||
Reference in New Issue
Block a user