diff options
Diffstat (limited to 'spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js')
-rw-r--r-- | spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js b/spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js index eaad0dae90d..373fb1b70c7 100644 --- a/spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js +++ b/spec/frontend/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item_spec.js @@ -1,4 +1,3 @@ -import createStore from '~/ci/pipeline_editor/store'; import JobSetupItem from '~/ci/pipeline_editor/components/job_assistant_drawer/accordion_items/job_setup_item.vue'; import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; import { JOB_TEMPLATE } from '~/ci/pipeline_editor/components/job_assistant_drawer/constants'; @@ -18,8 +17,8 @@ describe('Job setup item', () => { const createComponent = () => { wrapper = shallowMountExtended(JobSetupItem, { - store: createStore(), propsData: { + availableStages: ['.pre', dummyJobStage, '.post'], tagOptions: [ { id: 'tag1', name: 'tag1' }, { id: 'tag2', name: 'tag2' }, |