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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c9ccd088
Commit
c9ccd088
authored
Sep 23, 2019
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update eslint-plugin-import from 2.16.0 to 2.18.2
only for CE-specific contents under /spec/frontend/vue_shared
parent
69fbeb10
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
26 additions
and
29 deletions
+26
-29
spec/frontend/vue_shared/components/content_viewer/viewers/image_viewer_spec.js
...ed/components/content_viewer/viewers/image_viewer_spec.js
+1
-1
spec/frontend/vue_shared/components/gl_toggle_vuex_spec.js
spec/frontend/vue_shared/components/gl_toggle_vuex_spec.js
+1
-1
spec/frontend/vue_shared/components/issue/issue_warning_spec.js
...rontend/vue_shared/components/issue/issue_warning_spec.js
+1
-1
spec/frontend/vue_shared/components/issue/related_issuable_item_spec.js
...vue_shared/components/issue/related_issuable_item_spec.js
+1
-1
spec/frontend/vue_shared/components/markdown/field_spec.js
spec/frontend/vue_shared/components/markdown/field_spec.js
+2
-2
spec/frontend/vue_shared/components/memory_graph_spec.js
spec/frontend/vue_shared/components/memory_graph_spec.js
+1
-1
spec/frontend/vue_shared/components/notes/placeholder_system_note_spec.js
...e_shared/components/notes/placeholder_system_note_spec.js
+1
-1
spec/frontend/vue_shared/components/paginated_list_spec.js
spec/frontend/vue_shared/components/paginated_list_spec.js
+1
-1
spec/frontend/vue_shared/components/resizable_chart_container_spec.js
...d/vue_shared/components/resizable_chart_container_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/collapsed_calendar_icon_spec.js
...shared/components/sidebar/collapsed_calendar_icon_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/collapsed_grouped_date_picker_spec.js
.../components/sidebar/collapsed_grouped_date_picker_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/date_picker_spec.js
...rontend/vue_shared/components/sidebar/date_picker_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/labels_select/base_spec.js
.../vue_shared/components/sidebar/labels_select/base_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_button_spec.js
.../components/sidebar/labels_select/dropdown_button_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
...nents/sidebar/labels_select/dropdown_create_label_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_footer_spec.js
.../components/sidebar/labels_select/dropdown_footer_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_header_spec.js
.../components/sidebar/labels_select/dropdown_header_spec.js
+1
-2
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_search_input_spec.js
...nents/sidebar/labels_select/dropdown_search_input_spec.js
+1
-2
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_title_spec.js
...d/components/sidebar/labels_select/dropdown_title_spec.js
+1
-2
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed_spec.js
...ts/sidebar/labels_select/dropdown_value_collapsed_spec.js
+1
-1
spec/frontend/vue_shared/components/sidebar/toggle_sidebar_spec.js
...tend/vue_shared/components/sidebar/toggle_sidebar_spec.js
+1
-1
spec/frontend/vue_shared/components/user_avatar/user_avatar_image_spec.js
...e_shared/components/user_avatar/user_avatar_image_spec.js
+1
-1
spec/frontend/vue_shared/components/user_avatar/user_avatar_link_spec.js
...ue_shared/components/user_avatar/user_avatar_link_spec.js
+1
-1
spec/frontend/vue_shared/components/user_popover/user_popover_spec.js
...d/vue_shared/components/user_popover/user_popover_spec.js
+2
-2
No files found.
spec/frontend/vue_shared/components/content_viewer/viewers/image_viewer_spec.js
View file @
c9ccd088
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
ImageViewer
from
'
~/vue_shared/components/content_viewer/viewers/image_viewer.vue
'
;
import
{
GREEN_BOX_IMAGE_URL
}
from
'
spec/test_constants
'
;
import
ImageViewer
from
'
~/vue_shared/components/content_viewer/viewers/image_viewer.vue
'
;
describe
(
'
Image Viewer
'
,
()
=>
{
const
requiredProps
=
{
...
...
spec/frontend/vue_shared/components/gl_toggle_vuex_spec.js
View file @
c9ccd088
import
Vuex
from
'
vuex
'
;
import
GlToggleVuex
from
'
~/vue_shared/components/gl_toggle_vuex.vue
'
;
import
{
GlToggle
}
from
'
@gitlab/ui
'
;
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
GlToggleVuex
from
'
~/vue_shared/components/gl_toggle_vuex.vue
'
;
const
localVue
=
createLocalVue
();
localVue
.
use
(
Vuex
);
...
...
spec/frontend/vue_shared/components/issue/issue_warning_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
issueWarning
from
'
~/vue_shared/components/issue/issue_warning.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
issueWarning
from
'
~/vue_shared/components/issue/issue_warning.vue
'
;
const
IssueWarning
=
Vue
.
extend
(
issueWarning
);
...
...
spec/frontend/vue_shared/components/issue/related_issuable_item_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
{
formatDate
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
formatDate
}
from
'
~/lib/utils/datetime_utility
'
;
import
RelatedIssuableItem
from
'
~/vue_shared/components/issue/related_issuable_item.vue
'
;
import
{
defaultAssignees
,
...
...
spec/frontend/vue_shared/components/markdown/field_spec.js
View file @
c9ccd088
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
fieldComponent
from
'
~/vue_shared/components/markdown/field.vue
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
$
from
'
jquery
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
fieldComponent
from
'
~/vue_shared/components/markdown/field.vue
'
;
const
markdownPreviewPath
=
`
${
TEST_HOST
}
/preview`
;
const
markdownDocsPath
=
`
${
TEST_HOST
}
/docs`
;
...
...
spec/frontend/vue_shared/components/memory_graph_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
MemoryGraph
from
'
~/vue_shared/components/memory_graph.vue
'
;
import
{
GlSparklineChart
}
from
'
@gitlab/ui/dist/charts
'
;
import
MemoryGraph
from
'
~/vue_shared/components/memory_graph.vue
'
;
describe
(
'
MemoryGraph
'
,
()
=>
{
const
Component
=
Vue
.
extend
(
MemoryGraph
);
...
...
spec/frontend/vue_shared/components/notes/placeholder_system_note_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
placeholderSystemNote
from
'
~/vue_shared/components/notes/placeholder_system_note.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
placeholderSystemNote
from
'
~/vue_shared/components/notes/placeholder_system_note.vue
'
;
describe
(
'
placeholder system note component
'
,
()
=>
{
let
PlaceholderSystemNote
;
...
...
spec/frontend/vue_shared/components/paginated_list_spec.js
View file @
c9ccd088
import
{
mount
}
from
'
@vue/test-utils
'
;
import
PaginatedList
from
'
~/vue_shared/components/paginated_list.vue
'
;
import
{
PREV
,
NEXT
}
from
'
~/vue_shared/components/pagination/constants
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
describe
(
'
Pagination links component
'
,
()
=>
{
let
wrapper
;
...
...
spec/frontend/vue_shared/components/resizable_chart_container_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
ResizableChartContainer
from
'
~/vue_shared/components/resizable_chart/resizable_chart_container.vue
'
;
import
$
from
'
jquery
'
;
import
ResizableChartContainer
from
'
~/vue_shared/components/resizable_chart/resizable_chart_container.vue
'
;
jest
.
mock
(
'
~/lib/utils/common_utils
'
,
()
=>
({
debounceByAnimationFrame
(
callback
)
{
...
...
spec/frontend/vue_shared/components/sidebar/collapsed_calendar_icon_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
collapsedCalendarIcon
from
'
~/vue_shared/components/sidebar/collapsed_calendar_icon.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
collapsedCalendarIcon
from
'
~/vue_shared/components/sidebar/collapsed_calendar_icon.vue
'
;
describe
(
'
collapsedCalendarIcon
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/vue_shared/components/sidebar/collapsed_grouped_date_picker_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
collapsedGroupedDatePicker
from
'
~/vue_shared/components/sidebar/collapsed_grouped_date_picker.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
collapsedGroupedDatePicker
from
'
~/vue_shared/components/sidebar/collapsed_grouped_date_picker.vue
'
;
describe
(
'
collapsedGroupedDatePicker
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/vue_shared/components/sidebar/date_picker_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
sidebarDatePicker
from
'
~/vue_shared/components/sidebar/date_picker.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
sidebarDatePicker
from
'
~/vue_shared/components/sidebar/date_picker.vue
'
;
describe
(
'
sidebarDatePicker
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/base_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
BaseComponent
from
'
~/vue_shared/components/sidebar/labels_select/base.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
mockConfig
,
mockLabels
,
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_button_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
dropdownButtonComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_button.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
mockConfig
,
mockLabels
,
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_create_label_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
dropdownCreateLabelComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_create_label.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
mockSuggestedColors
}
from
'
../../../../../javascripts/vue_shared/components/sidebar/labels_select/mock_data
'
;
const
createComponent
=
headerTitle
=>
{
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_footer_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
dropdownFooterComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_footer.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
mockConfig
}
from
'
../../../../../javascripts/vue_shared/components/sidebar/labels_select/mock_data
'
;
const
createComponent
=
(
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_header_spec.js
View file @
c9ccd088
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
dropdownHeaderComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_header.vue
'
;
const
createComponent
=
()
=>
{
const
Component
=
Vue
.
extend
(
dropdownHeaderComponent
);
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_search_input_spec.js
View file @
c9ccd088
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
dropdownSearchInputComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_search_input.vue
'
;
const
createComponent
=
()
=>
{
const
Component
=
Vue
.
extend
(
dropdownSearchInputComponent
);
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_title_spec.js
View file @
c9ccd088
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
dropdownTitleComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_title.vue
'
;
const
createComponent
=
(
canEdit
=
true
)
=>
{
const
Component
=
Vue
.
extend
(
dropdownTitleComponent
);
...
...
spec/frontend/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
dropdownValueCollapsedComponent
from
'
~/vue_shared/components/sidebar/labels_select/dropdown_value_collapsed.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
mockLabels
}
from
'
../../../../../javascripts/vue_shared/components/sidebar/labels_select/mock_data
'
;
const
createComponent
=
(
labels
=
mockLabels
)
=>
{
...
...
spec/frontend/vue_shared/components/sidebar/toggle_sidebar_spec.js
View file @
c9ccd088
import
Vue
from
'
vue
'
;
import
toggleSidebar
from
'
~/vue_shared/components/sidebar/toggle_sidebar.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
toggleSidebar
from
'
~/vue_shared/components/sidebar/toggle_sidebar.vue
'
;
describe
(
'
toggleSidebar
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/vue_shared/components/user_avatar/user_avatar_image_spec.js
View file @
c9ccd088
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
defaultAvatarUrl
from
'
images/no_avatar.png
'
;
import
{
placeholderImage
}
from
'
~/lazy_loader
'
;
import
UserAvatarImage
from
'
~/vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
defaultAvatarUrl
from
'
images/no_avatar.png
'
;
jest
.
mock
(
'
images/no_avatar.png
'
,
()
=>
'
default-avatar-url
'
);
...
...
spec/frontend/vue_shared/components/user_avatar/user_avatar_link_spec.js
View file @
c9ccd088
...
...
@@ -2,9 +2,9 @@ import _ from 'underscore';
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
UserAvatarLink
from
'
~/vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
UserAvatarImage
from
'
~/vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
describe
(
'
User Avatar Link Component
'
,
()
=>
{
let
wrapper
;
...
...
spec/frontend/vue_shared/components/user_popover/user_popover_spec.js
View file @
c9ccd088
import
UserPopover
from
'
~/vue_shared/components/user_popover/user_popover.vue
'
;
import
{
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
UserPopover
from
'
~/vue_shared/components/user_popover/user_popover.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
const
DEFAULT_PROPS
=
{
loaded
:
true
,
...
...
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