• Filipa Lacerda's avatar
    Transforms diffs module to a namespaced one to avoid console error due to rewire export. · 156a9d39
    Filipa Lacerda authored
    Detailed: Because of rewire we need to export a default empty object in our actions to prevent it to export the wrong default in karma. Vuex getters are global, and because the Vuex store uses several non namespaced moduled, there was already a getter named default, due to the same empty export.
    In order to solve it I chose to namespace the module. Could also be fixed by importing the getters explicitly instead of all of them.
    156a9d39
app.vue 5.66 KB