Version
4.1.0
Describe the bug
When developing with a fork of vuex, I noticed that vuex tests break when bumping vue to the latest version:
FAIL test/unit/hot-reload.spec.js
● Hot Reload › getters
expect(received).toBe(expected) // Object.is equality
Expected: 10
Received: 1
279 | })
280 |
> 281 | expect(vm.a).toBe(10)
| ^
282 | store.dispatch('check', 10)
283 |
284 | if (isSSR) {
at Object.toBe (test/unit/hot-reload.spec.js:281:18)
Reproduction
- Check out
vuejs/vuex main branch
- Run
yarn test
- Tests pass
- Update
vue: yarn add --dev vue@latest
- Run
yarn test again
- Tests fail
Expected behavior
Tests pass on latest version of vue — presumably this means there's broken behaviour when using vuex with the latest version of vue?
Additional context
No response
Validations
Version
4.1.0
Describe the bug
When developing with a fork of
vuex, I noticed thatvuextests break when bumpingvueto the latest version:Reproduction
vuejs/vuexmainbranchyarn testvue:yarn add --dev vue@latestyarn testagainExpected behavior
Tests pass on latest version of
vue— presumably this means there's broken behaviour when usingvuexwith the latest version ofvue?Additional context
No response
Validations