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

6 lines
169 B
JavaScript

import state from '~/jobs/store/state';
// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState(state());
};