gitlab-org--gitlab-foss/spec/frontend/jobs/store/helpers.js

5 lines
114 B
JavaScript

import state from '~/jobs/store/state';
export const resetStore = (store) => {
store.replaceState(state());
};