"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/unit/features/options/inject.spec.ts" between
vue-2.7.13.tar.gz and vue-2.7.14.tar.gz

About: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

inject.spec.ts  (vue-2.7.13):inject.spec.ts  (vue-2.7.14)
skipping to change at line 715 skipping to change at line 715
} }
} }
} }
}).$mount() }).$mount()
val = 2 val = 2
vm.ok = true vm.ok = true
await nextTick() await nextTick()
expect(spy).toHaveBeenCalledWith(2) expect(spy).toHaveBeenCalledWith(2)
}) })
// #12854
test('should not mutate original provide options', () => {
const hairMixin = { provide: { hair: 'red' } }
const eyesMixin = { provide: { eyes: 'brown' } }
new Vue({ mixins: [hairMixin, eyesMixin], render() {} }).$mount()
expect(eyesMixin.provide).toStrictEqual({ eyes: 'brown' })
})
}) })
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)