summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/stores/test_reports/index.js
blob: 204dfc2fb010f4264824549003f5b0341376bb0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Vue from 'vue';
import Vuex from 'vuex';
import state from './state';
import * as actions from './actions';
import * as getters from './getters';
import mutations from './mutations';

Vue.use(Vuex);

export default (initialState) =>
  new Vuex.Store({
    actions,
    getters,
    mutations,
    state: state(initialState),
  });