diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:42:06 +0300 |
commit | 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 (patch) | |
tree | 78be5963ec075d80116a932011d695dd33910b4e /spec/frontend/whats_new/store/actions_spec.js | |
parent | 1ce776de4ae122aba3f349c02c17cebeaa8ecf07 (diff) |
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
Diffstat (limited to 'spec/frontend/whats_new/store/actions_spec.js')
-rw-r--r-- | spec/frontend/whats_new/store/actions_spec.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/frontend/whats_new/store/actions_spec.js b/spec/frontend/whats_new/store/actions_spec.js new file mode 100644 index 00000000000..d95453c9175 --- /dev/null +++ b/spec/frontend/whats_new/store/actions_spec.js @@ -0,0 +1,17 @@ +import testAction from 'helpers/vuex_action_helper'; +import actions from '~/whats_new/store/actions'; +import * as types from '~/whats_new/store/mutation_types'; + +describe('whats new actions', () => { + describe('openDrawer', () => { + it('should commit openDrawer', () => { + testAction(actions.openDrawer, {}, {}, [{ type: types.OPEN_DRAWER }]); + }); + }); + + describe('closeDrawer', () => { + it('should commit closeDrawer', () => { + testAction(actions.closeDrawer, {}, {}, [{ type: types.CLOSE_DRAWER }]); + }); + }); +}); |