diff options
Diffstat (limited to 'spec/javascripts/releases/list/store/helpers.js')
-rw-r--r-- | spec/javascripts/releases/list/store/helpers.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/javascripts/releases/list/store/helpers.js b/spec/javascripts/releases/list/store/helpers.js new file mode 100644 index 00000000000..fbc89ec2148 --- /dev/null +++ b/spec/javascripts/releases/list/store/helpers.js @@ -0,0 +1,6 @@ +import state from '~/releases/list/store/state'; + +// eslint-disable-next-line import/prefer-default-export +export const resetStore = store => { + store.replaceState(state()); +}; |