In this one, I enabled strict mode for Vuex, and set the strict option of VuexModule to false, to enable automatic setters.
I had to implement clearProxyCache, because otherwise, previously defined modules, watchers and other things were conflicting.
Be careful, I also clean __vuex_module_cache__ in this one. In fact, the best way for tests should be to have access to initializeModuleInternals, but I don't know if it is meant to be used like this.
This is a continuation of #77
In this one, I enabled strict mode for Vuex, and set the
strict
option of VuexModule to false, to enable automatic setters. I had to implementclearProxyCache
, because otherwise, previously defined modules, watchers and other things were conflicting.Be careful, I also clean
__vuex_module_cache__
in this one. In fact, the best way for tests should be to have access toinitializeModuleInternals
, but I don't know if it is meant to be used like this.