We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00d9007 commit 3d9f8a0Copy full SHA for 3d9f8a0
test/test.js
@@ -294,8 +294,7 @@ describe('Vuex', () => {
294
}
295
296
})
297
- const vm = new Vue({
298
- store,
+ const Comp = Vue.extend({
299
vuex: {
300
getters: {
301
a: state => state.a
@@ -315,6 +314,7 @@ describe('Vuex', () => {
315
314
316
}]
317
+ const vm = new Comp({ store })
318
expect(vm.a).to.equal(1)
319
expect(vm.b).to.equal(2)
320
vm.test(2)
0 commit comments