diff options
Diffstat (limited to 'spec/frontend/ci/job_details/store/helpers.js')
-rw-r--r-- | spec/frontend/ci/job_details/store/helpers.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend/ci/job_details/store/helpers.js b/spec/frontend/ci/job_details/store/helpers.js new file mode 100644 index 00000000000..6b186e094e7 --- /dev/null +++ b/spec/frontend/ci/job_details/store/helpers.js @@ -0,0 +1,5 @@ +import state from '~/ci/job_details/store/state'; + +export const resetStore = (store) => { + store.replaceState(state()); +}; |