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/projects/commit/store/actions_spec.js')
-rw-r--r--spec/frontend/projects/commit/store/actions_spec.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/frontend/projects/commit/store/actions_spec.js b/spec/frontend/projects/commit/store/actions_spec.js
index adb87142fee..7ff1af86f35 100644
--- a/spec/frontend/projects/commit/store/actions_spec.js
+++ b/spec/frontend/projects/commit/store/actions_spec.js
@@ -25,7 +25,7 @@ describe('Commit form modal store actions', () => {
describe('clearModal', () => {
it('commits CLEAR_MODAL mutation', () => {
- testAction(actions.clearModal, {}, {}, [
+ return testAction(actions.clearModal, {}, {}, [
{
type: types.CLEAR_MODAL,
},
@@ -35,7 +35,7 @@ describe('Commit form modal store actions', () => {
describe('requestBranches', () => {
it('commits REQUEST_BRANCHES mutation', () => {
- testAction(actions.requestBranches, {}, {}, [
+ return testAction(actions.requestBranches, {}, {}, [
{
type: types.REQUEST_BRANCHES,
},
@@ -74,7 +74,7 @@ describe('Commit form modal store actions', () => {
describe('setBranch', () => {
it('commits SET_BRANCH mutation', () => {
- testAction(
+ return testAction(
actions.setBranch,
{},
{},
@@ -96,7 +96,7 @@ describe('Commit form modal store actions', () => {
describe('setSelectedBranch', () => {
it('commits SET_SELECTED_BRANCH mutation', () => {
- testAction(actions.setSelectedBranch, {}, {}, [
+ return testAction(actions.setSelectedBranch, {}, {}, [
{
type: types.SET_SELECTED_BRANCH,
payload: {},
@@ -109,7 +109,7 @@ describe('Commit form modal store actions', () => {
it('commits SET_BRANCHES_ENDPOINT mutation', () => {
const endpoint = 'some/endpoint';
- testAction(actions.setBranchesEndpoint, endpoint, {}, [
+ return testAction(actions.setBranchesEndpoint, endpoint, {}, [
{
type: types.SET_BRANCHES_ENDPOINT,
payload: endpoint,
@@ -122,7 +122,7 @@ describe('Commit form modal store actions', () => {
const id = 1;
it('commits SET_SELECTED_PROJECT mutation', () => {
- testAction(
+ return testAction(
actions.setSelectedProject,
id,
{},