Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/static_site_editor/store/actions_spec.js')
-rw-r--r--spec/frontend/static_site_editor/store/actions_spec.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/frontend/static_site_editor/store/actions_spec.js b/spec/frontend/static_site_editor/store/actions_spec.js
index 98d7d0d2c2d..4ad1e798ccd 100644
--- a/spec/frontend/static_site_editor/store/actions_spec.js
+++ b/spec/frontend/static_site_editor/store/actions_spec.js
@@ -73,4 +73,15 @@ describe('Static Site Editor Store actions', () => {
});
});
});
+
+ describe('setContent', () => {
+ it('commits setContent mutation', () => {
+ testAction(actions.setContent, content, state, [
+ {
+ type: mutationTypes.SET_CONTENT,
+ payload: content,
+ },
+ ]);
+ });
+ });
});