Skip to content

Instantly share code, notes, and snippets.

View balataca's full-sized avatar

Augusto Zanoni balataca

  • Passo Fundo, Brazil
View GitHub Profile
@matvaleriano
matvaleriano / __mocksStore__.js
Created August 8, 2018 12:52
Helpers for Jest + Vue tests
// set this file into the store -> store/__mocks__/index.js
import Vue from 'vue'
import Vuex from 'vuex'
// your mocks
import state from './state'
import * as getters from './getters'
import mutations from './mutations'
import * as actions from './actions'