diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-10-15 17:25:39 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-10-15 17:25:39 +0300 |
commit | fcd7c7b5e18946d5f4ec297aff749a587e45b5b1 (patch) | |
tree | b1dc827abdb5dab1a5448c60eec0f8874311e4fc /spec | |
parent | 1c893059abf19e85d1d3ee5b3d8e3962dffc9284 (diff) |
Fixed syntax issues in specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/jobs/components/stages_dropdown_spec.js | 2 | ||||
-rw-r--r-- | spec/javascripts/jobs/store/actions_spec.js | 2 | ||||
-rw-r--r-- | spec/javascripts/jobs/store/mutations_spec.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/jobs/components/stages_dropdown_spec.js b/spec/javascripts/jobs/components/stages_dropdown_spec.js index fcff78b943e..9c731ae2f68 100644 --- a/spec/javascripts/jobs/components/stages_dropdown_spec.js +++ b/spec/javascripts/jobs/components/stages_dropdown_spec.js @@ -31,7 +31,7 @@ describe('Stages Dropdown', () => { name: 'test', }, ], - selectedStage: 'deploy' + selectedStage: 'deploy', }); }); diff --git a/spec/javascripts/jobs/store/actions_spec.js b/spec/javascripts/jobs/store/actions_spec.js index bc410ae614c..2bb9fdaabd0 100644 --- a/spec/javascripts/jobs/store/actions_spec.js +++ b/spec/javascripts/jobs/store/actions_spec.js @@ -424,7 +424,7 @@ describe('Job State actions', () => { mockedState.job.pipeline = { path: `${TEST_HOST}/endpoint`, }; - mockedState.selectedStage = 'deploy' + mockedState.selectedStage = 'deploy'; mock = new MockAdapter(axios); }); diff --git a/spec/javascripts/jobs/store/mutations_spec.js b/spec/javascripts/jobs/store/mutations_spec.js index 701fcc7f4c8..d857c116180 100644 --- a/spec/javascripts/jobs/store/mutations_spec.js +++ b/spec/javascripts/jobs/store/mutations_spec.js @@ -130,7 +130,7 @@ describe('Jobs Store Mutations', () => { }); it('does not set selectedStage when the selectedStage is not More', () => { - stateCopy.selectedStage = 'notify' + stateCopy.selectedStage = 'notify'; expect(stateCopy.selectedStage).toEqual('notify'); mutations[types.RECEIVE_JOB_SUCCESS](stateCopy, { id: 1312321, stage: 'deploy' }); expect(stateCopy.selectedStage).toEqual('notify'); @@ -219,7 +219,7 @@ describe('Jobs Store Mutations', () => { it('sets selectedStage', () => { mutations[types.REQUEST_JOBS_FOR_STAGE](stateCopy, { name: 'deploy' }); expect(stateCopy.selectedStage).toEqual('deploy'); - }) + }); }); describe('RECEIVE_JOBS_FOR_STAGE_SUCCESS', () => { |