diff options
Diffstat (limited to 'spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js')
-rw-r--r-- | spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js b/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js index f7bc0e4a0e8..351bbe5ea28 100644 --- a/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js +++ b/spec/frontend/import_entities/import_projects/components/import_projects_table_spec.js @@ -285,7 +285,7 @@ describe('ImportProjectsTable', () => { }); it('should render advanced settings panel when no optional steps are passed', () => { - const OPTIONAL_STAGES = [{ name: 'step1', label: 'Step 1' }]; + const OPTIONAL_STAGES = [{ name: 'step1', label: 'Step 1', selected: true }]; createComponent({ state: { providerRepos: [providerRepo] }, optionalStages: OPTIONAL_STAGES }); expect(wrapper.findComponent(AdvancedSettingsPanel).exists()).toBe(true); @@ -293,7 +293,7 @@ describe('ImportProjectsTable', () => { OPTIONAL_STAGES, ); expect(wrapper.findComponent(AdvancedSettingsPanel).props('value')).toStrictEqual({ - step1: false, + step1: true, }); }); }); |