Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
85ce8c7e
Commit
85ce8c7e
authored
Mar 20, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update spec import path for vue mount component helper
parent
216ead60
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
27 additions
and
22 deletions
+27
-22
changelogs/unreleased/update-spec-import-path-for-vue-mount-component-helper.yml
...pdate-spec-import-path-for-vue-mount-component-helper.yml
+5
-0
spec/javascripts/notes/components/diff_file_header_spec.js
spec/javascripts/notes/components/diff_file_header_spec.js
+1
-1
spec/javascripts/notes/components/diff_with_note_spec.js
spec/javascripts/notes/components/diff_with_note_spec.js
+1
-1
spec/javascripts/pages/labels/components/promote_label_modal_spec.js
...ripts/pages/labels/components/promote_label_modal_spec.js
+1
-1
spec/javascripts/pages/milestones/shared/components/promote_milestone_modal_spec.js
...estones/shared/components/promote_milestone_modal_spec.js
+1
-1
spec/javascripts/vue_shared/components/markdown/toolbar_spec.js
...avascripts/vue_shared/components/markdown/toolbar_spec.js
+1
-1
spec/javascripts/vue_shared/components/sidebar/labels_select/base_spec.js
.../vue_shared/components/sidebar/labels_select/base_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_button_spec.js
.../components/sidebar/labels_select/dropdown_button_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
...nents/sidebar/labels_select/dropdown_create_label_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_footer_spec.js
.../components/sidebar/labels_select/dropdown_footer_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_header_spec.js
.../components/sidebar/labels_select/dropdown_header_spec.js
+1
-1
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_hidden_input_spec.js
...nents/sidebar/labels_select/dropdown_hidden_input_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_search_input_spec.js
...nents/sidebar/labels_select/dropdown_search_input_spec.js
+1
-1
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_title_spec.js
...d/components/sidebar/labels_select/dropdown_title_spec.js
+1
-1
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed_spec.js
...ts/sidebar/labels_select/dropdown_value_collapsed_spec.js
+2
-2
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value_spec.js
...d/components/sidebar/labels_select/dropdown_value_spec.js
+2
-2
No files found.
changelogs/unreleased/update-spec-import-path-for-vue-mount-component-helper.yml
0 → 100644
View file @
85ce8c7e
---
title
:
Update spec import path for vue mount component helper
merge_request
:
17880
author
:
George Tsiolis
type
:
performance
spec/javascripts/notes/components/diff_file_header_spec.js
View file @
85ce8c7e
import
Vue
from
'
vue
'
;
import
DiffFileHeader
from
'
~/notes/components/diff_file_header.vue
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
mountComponent
from
'
../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
const
discussionFixture
=
'
merge_requests/diff_discussion.json
'
;
...
...
spec/javascripts/notes/components/diff_with_note_spec.js
View file @
85ce8c7e
import
Vue
from
'
vue
'
;
import
DiffWithNote
from
'
~/notes/components/diff_with_note.vue
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
mountComponent
from
'
../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
const
discussionFixture
=
'
merge_requests/diff_discussion.json
'
;
const
imageDiscussionFixture
=
'
merge_requests/image_diff_discussion.json
'
;
...
...
spec/javascripts/pages/labels/components/promote_label_modal_spec.js
View file @
85ce8c7e
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
promoteLabelModal
from
'
~/pages/projects/labels/components/promote_label_modal.vue
'
;
import
eventHub
from
'
~/pages/projects/labels/event_hub
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
mountComponent
from
'
../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
describe
(
'
Promote label modal
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/pages/milestones/shared/components/promote_milestone_modal_spec.js
View file @
85ce8c7e
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
promoteMilestoneModal
from
'
~/pages/milestones/shared/components/promote_milestone_modal.vue
'
;
import
eventHub
from
'
~/pages/milestones/shared/event_hub
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
mountComponent
from
'
../../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
describe
(
'
Promote milestone modal
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/vue_shared/components/markdown/toolbar_spec.js
View file @
85ce8c7e
import
Vue
from
'
vue
'
;
import
toolbar
from
'
~/vue_shared/components/markdown/toolbar.vue
'
;
import
mountComponent
from
'
../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
describe
(
'
toolbar
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/base_spec.js
View file @
85ce8c7e
...
...
@@ -3,9 +3,9 @@ import Vue from 'vue';
import
LabelsSelect
from
'
~/labels_select
'
;
import
baseComponent
from
'
~/vue_shared/components/sidebar/labels_select/base.vue
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
const
createComponent
=
(
config
=
mockConfig
)
=>
{
const
Component
=
Vue
.
extend
(
baseComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_button_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownButtonComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_button.vue
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
const
componentConfig
=
Object
.
assign
({},
mockConfig
,
{
fieldName
:
'
label_id[]
'
,
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownCreateLabelComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_create_label.vue
'
;
import
{
mockSuggestedColors
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockSuggestedColors
}
from
'
./mock_data
'
;
const
createComponent
=
(
headerTitle
)
=>
{
const
Component
=
Vue
.
extend
(
dropdownCreateLabelComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_footer_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownFooterComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_footer.vue
'
;
import
{
mockConfig
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockConfig
}
from
'
./mock_data
'
;
const
createComponent
=
(
labelsWebUrl
=
mockConfig
.
labelsWebUrl
,
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_header_spec.js
View file @
85ce8c7e
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
dropdownHeaderComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_header.vue
'
;
import
mountComponent
from
'
../../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
const
createComponent
=
()
=>
{
const
Component
=
Vue
.
extend
(
dropdownHeaderComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_hidden_input_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownHiddenInputComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_hidden_input.vue
'
;
import
{
mockLabels
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockLabels
}
from
'
./mock_data
'
;
const
createComponent
=
(
name
=
'
label_id[]
'
,
label
=
mockLabels
[
0
])
=>
{
const
Component
=
Vue
.
extend
(
dropdownHiddenInputComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_search_input_spec.js
View file @
85ce8c7e
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
dropdownSearchInputComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_search_input.vue
'
;
import
mountComponent
from
'
../../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
const
createComponent
=
()
=>
{
const
Component
=
Vue
.
extend
(
dropdownSearchInputComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_title_spec.js
View file @
85ce8c7e
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
dropdownTitleComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_title.vue
'
;
import
mountComponent
from
'
../../../..
/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec
/helpers/vue_mount_component_helper
'
;
const
createComponent
=
(
canEdit
=
true
)
=>
{
const
Component
=
Vue
.
extend
(
dropdownTitleComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownValueCollapsedComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed.vue
'
;
import
{
mockLabels
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockLabels
}
from
'
./mock_data
'
;
const
createComponent
=
(
labels
=
mockLabels
)
=>
{
const
Component
=
Vue
.
extend
(
dropdownValueCollapsedComponent
);
...
...
spec/javascripts/vue_shared/components/sidebar/labels_select/dropdown_value_spec.js
View file @
85ce8c7e
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
dropdownValueComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_value.vue
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../../../helpers/vue_mount_component_helper
'
;
import
{
mockConfig
,
mockLabels
}
from
'
./mock_data
'
;
const
createComponent
=
(
labels
=
mockLabels
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment