Skip to content

Instantly share code, notes, and snippets.

View McCauliflower's full-sized avatar
👽

McCall Tucker McCauliflower

👽
View GitHub Profile
@McCauliflower
McCauliflower / MockVuexModulesWithJest.txt
Last active November 1, 2019 01:00
Mock Vuex modules with Jest
Jest Automock Features with Vuex Modules
const store = jest.genMockFromModule(‘@/store/index.js').default
// and to mount
wrapper = shallowMount(SideFilters, {
     store,
     localVue
   })