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
4fb919b1
Commit
4fb919b1
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/[m-r]
parent
13406da8
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
43 additions
and
43 deletions
+43
-43
spec/frontend/monitoring/charts/time_series_spec.js
spec/frontend/monitoring/charts/time_series_spec.js
+1
-1
spec/frontend/monitoring/components/charts/anomaly_spec.js
spec/frontend/monitoring/components/charts/anomaly_spec.js
+2
-2
spec/frontend/monitoring/embed/embed_spec.js
spec/frontend/monitoring/embed/embed_spec.js
+1
-1
spec/frontend/monitoring/store/actions_spec.js
spec/frontend/monitoring/store/actions_spec.js
+1
-1
spec/frontend/mr_popover/mr_popover_spec.js
spec/frontend/mr_popover/mr_popover_spec.js
+1
-1
spec/frontend/notes/components/comment_form_spec.js
spec/frontend/notes/components/comment_form_spec.js
+1
-1
spec/frontend/notes/components/discussion_actions_spec.js
spec/frontend/notes/components/discussion_actions_spec.js
+1
-1
spec/frontend/notes/components/discussion_jump_to_next_button_spec.js
...d/notes/components/discussion_jump_to_next_button_spec.js
+1
-1
spec/frontend/notes/components/discussion_reply_placeholder_spec.js
...end/notes/components/discussion_reply_placeholder_spec.js
+1
-1
spec/frontend/notes/components/discussion_resolve_button_spec.js
...ontend/notes/components/discussion_resolve_button_spec.js
+1
-1
spec/frontend/notes/old_notes_spec.js
spec/frontend/notes/old_notes_spec.js
+2
-2
spec/frontend/operation_settings/components/external_dashboard_spec.js
.../operation_settings/components/external_dashboard_spec.js
+1
-1
spec/frontend/pages/profiles/show/emoji_menu_spec.js
spec/frontend/pages/profiles/show/emoji_menu_spec.js
+1
-1
spec/frontend/performance_bar/components/add_request_spec.js
spec/frontend/performance_bar/components/add_request_spec.js
+1
-1
spec/frontend/performance_bar/components/detailed_metric_spec.js
...ontend/performance_bar/components/detailed_metric_spec.js
+1
-1
spec/frontend/performance_bar/components/performance_bar_app_spec.js
...nd/performance_bar/components/performance_bar_app_spec.js
+1
-1
spec/frontend/performance_bar/components/request_selector_spec.js
...ntend/performance_bar/components/request_selector_spec.js
+1
-1
spec/frontend/performance_bar/components/request_warning_spec.js
...ontend/performance_bar/components/request_warning_spec.js
+1
-1
spec/frontend/pipelines/graph/job_item_spec.js
spec/frontend/pipelines/graph/job_item_spec.js
+1
-1
spec/frontend/pipelines/test_reports/stores/actions_spec.js
spec/frontend/pipelines/test_reports/stores/actions_spec.js
+1
-1
spec/frontend/pipelines/test_reports/stores/getters_spec.js
spec/frontend/pipelines/test_reports/stores/getters_spec.js
+1
-1
spec/frontend/pipelines/test_reports/stores/mutations_spec.js
.../frontend/pipelines/test_reports/stores/mutations_spec.js
+1
-1
spec/frontend/pipelines/test_reports/test_reports_spec.js
spec/frontend/pipelines/test_reports/test_reports_spec.js
+2
-2
spec/frontend/pipelines/test_reports/test_suite_table_spec.js
.../frontend/pipelines/test_reports/test_suite_table_spec.js
+2
-2
spec/frontend/pipelines/test_reports/test_summary_spec.js
spec/frontend/pipelines/test_reports/test_summary_spec.js
+1
-1
spec/frontend/pipelines/test_reports/test_summary_table_spec.js
...rontend/pipelines/test_reports/test_summary_table_spec.js
+2
-2
spec/frontend/project_find_file_spec.js
spec/frontend/project_find_file_spec.js
+2
-2
spec/frontend/registry/list/components/app_spec.js
spec/frontend/registry/list/components/app_spec.js
+1
-1
spec/frontend/registry/list/stores/actions_spec.js
spec/frontend/registry/list/stores/actions_spec.js
+2
-2
spec/frontend/registry/settings/stores/actions_spec.js
spec/frontend/registry/settings/stores/actions_spec.js
+1
-1
spec/frontend/releases/detail/store/actions_spec.js
spec/frontend/releases/detail/store/actions_spec.js
+1
-1
spec/frontend/releases/list/components/release_block_footer_spec.js
...end/releases/list/components/release_block_footer_spec.js
+2
-2
spec/frontend/releases/list/components/release_block_milestone_info_spec.js
...ases/list/components/release_block_milestone_info_spec.js
+1
-1
spec/frontend/releases/list/components/release_block_spec.js
spec/frontend/releases/list/components/release_block_spec.js
+1
-1
spec/frontend/reports/components/report_section_spec.js
spec/frontend/reports/components/report_section_spec.js
+1
-1
No files found.
spec/frontend/monitoring/charts/time_series_spec.js
View file @
4fb919b1
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
createStore
}
from
'
~/monitoring/stores
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlAreaChart
,
GlLineChart
,
GlChartSeriesLabel
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
GlAreaChart
,
GlLineChart
,
GlChartSeriesLabel
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
shallowWrapperContainsSlotText
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
shallowWrapperContainsSlotText
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
createStore
}
from
'
~/monitoring/stores
'
;
import
TimeSeries
from
'
~/monitoring/components/charts/time_series.vue
'
;
import
TimeSeries
from
'
~/monitoring/components/charts/time_series.vue
'
;
import
*
as
types
from
'
~/monitoring/stores/mutation_types
'
;
import
*
as
types
from
'
~/monitoring/stores/mutation_types
'
;
import
{
import
{
...
...
spec/frontend/monitoring/components/charts/anomaly_spec.js
View file @
4fb919b1
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
Anomaly
from
'
~/monitoring/components/charts/anomaly.vue
'
;
import
Anomaly
from
'
~/monitoring/components/charts/anomaly.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
colorValues
}
from
'
~/monitoring/constants
'
;
import
{
colorValues
}
from
'
~/monitoring/constants
'
;
import
{
import
{
anomalyDeploymentData
,
anomalyDeploymentData
,
...
@@ -8,7 +9,6 @@ import {
...
@@ -8,7 +9,6 @@ import {
anomalyMockGraphData
,
anomalyMockGraphData
,
anomalyMockResultValues
,
anomalyMockResultValues
,
}
from
'
../../mock_data
'
;
}
from
'
../../mock_data
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
MonitorTimeSeriesChart
from
'
~/monitoring/components/charts/time_series.vue
'
;
import
MonitorTimeSeriesChart
from
'
~/monitoring/components/charts/time_series.vue
'
;
const
mockWidgets
=
'
mockWidgets
'
;
const
mockWidgets
=
'
mockWidgets
'
;
...
...
spec/frontend/monitoring/embed/embed_spec.js
View file @
4fb919b1
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
Vuex
from
'
vuex
'
;
import
Vuex
from
'
vuex
'
;
import
Embed
from
'
~/monitoring/components/embed.vue
'
;
import
PanelType
from
'
ee_else_ce/monitoring/components/panel_type.vue
'
;
import
PanelType
from
'
ee_else_ce/monitoring/components/panel_type.vue
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
Embed
from
'
~/monitoring/components/embed.vue
'
;
import
{
groups
,
initialState
,
metricsData
,
metricsWithData
}
from
'
./mock_data
'
;
import
{
groups
,
initialState
,
metricsData
,
metricsWithData
}
from
'
./mock_data
'
;
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
...
...
spec/frontend/monitoring/store/actions_spec.js
View file @
4fb919b1
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Tracking
from
'
~/tracking
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
Tracking
from
'
~/tracking
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
statusCodes
from
'
~/lib/utils/http_status
'
;
import
statusCodes
from
'
~/lib/utils/http_status
'
;
import
{
backOff
}
from
'
~/lib/utils/common_utils
'
;
import
{
backOff
}
from
'
~/lib/utils/common_utils
'
;
...
...
spec/frontend/mr_popover/mr_popover_spec.js
View file @
4fb919b1
import
MRPopover
from
'
~/mr_popover/components/mr_popover
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
MRPopover
from
'
~/mr_popover/components/mr_popover
'
;
describe
(
'
MR Popover
'
,
()
=>
{
describe
(
'
MR Popover
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/notes/components/comment_form_spec.js
View file @
4fb919b1
...
@@ -2,12 +2,12 @@ import $ from 'jquery';
...
@@ -2,12 +2,12 @@ import $ from 'jquery';
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Autosize
from
'
autosize
'
;
import
Autosize
from
'
autosize
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
createStore
from
'
~/notes/stores
'
;
import
createStore
from
'
~/notes/stores
'
;
import
CommentForm
from
'
~/notes/components/comment_form.vue
'
;
import
CommentForm
from
'
~/notes/components/comment_form.vue
'
;
import
*
as
constants
from
'
~/notes/constants
'
;
import
*
as
constants
from
'
~/notes/constants
'
;
import
{
refreshUserMergeRequestCounts
}
from
'
~/commons/nav/user_merge_requests
'
;
import
{
refreshUserMergeRequestCounts
}
from
'
~/commons/nav/user_merge_requests
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
{
keyboardDownEvent
}
from
'
../../issue_show/helpers
'
;
import
{
keyboardDownEvent
}
from
'
../../issue_show/helpers
'
;
import
{
import
{
loggedOutnoteableData
,
loggedOutnoteableData
,
...
...
spec/frontend/notes/components/discussion_actions_spec.js
View file @
4fb919b1
import
createStore
from
'
~/notes/stores
'
;
import
{
shallowMount
,
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
,
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
discussionMock
}
from
'
../../notes/mock_data
'
;
import
{
discussionMock
}
from
'
../../notes/mock_data
'
;
import
DiscussionActions
from
'
~/notes/components/discussion_actions.vue
'
;
import
DiscussionActions
from
'
~/notes/components/discussion_actions.vue
'
;
...
@@ -6,6 +5,7 @@ import ReplyPlaceholder from '~/notes/components/discussion_reply_placeholder.vu
...
@@ -6,6 +5,7 @@ import ReplyPlaceholder from '~/notes/components/discussion_reply_placeholder.vu
import
ResolveDiscussionButton
from
'
~/notes/components/discussion_resolve_button.vue
'
;
import
ResolveDiscussionButton
from
'
~/notes/components/discussion_resolve_button.vue
'
;
import
ResolveWithIssueButton
from
'
~/notes/components/discussion_resolve_with_issue_button.vue
'
;
import
ResolveWithIssueButton
from
'
~/notes/components/discussion_resolve_with_issue_button.vue
'
;
import
JumpToNextDiscussionButton
from
'
~/notes/components/discussion_jump_to_next_button.vue
'
;
import
JumpToNextDiscussionButton
from
'
~/notes/components/discussion_jump_to_next_button.vue
'
;
import
createStore
from
'
~/notes/stores
'
;
// NOTE: clone mock_data so that it is not accidentally mutated
// NOTE: clone mock_data so that it is not accidentally mutated
const
createDiscussionMock
=
(
props
=
{})
=>
const
createDiscussionMock
=
(
props
=
{})
=>
...
...
spec/frontend/notes/components/discussion_jump_to_next_button_spec.js
View file @
4fb919b1
import
JumpToNextDiscussionButton
from
'
~/notes/components/discussion_jump_to_next_button.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
JumpToNextDiscussionButton
from
'
~/notes/components/discussion_jump_to_next_button.vue
'
;
describe
(
'
JumpToNextDiscussionButton
'
,
()
=>
{
describe
(
'
JumpToNextDiscussionButton
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/notes/components/discussion_reply_placeholder_spec.js
View file @
4fb919b1
import
ReplyPlaceholder
from
'
~/notes/components/discussion_reply_placeholder.vue
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
ReplyPlaceholder
from
'
~/notes/components/discussion_reply_placeholder.vue
'
;
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
const
buttonText
=
'
Test Button Text
'
;
const
buttonText
=
'
Test Button Text
'
;
...
...
spec/frontend/notes/components/discussion_resolve_button_spec.js
View file @
4fb919b1
import
resolveDiscussionButton
from
'
~/notes/components/discussion_resolve_button.vue
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
resolveDiscussionButton
from
'
~/notes/components/discussion_resolve_button.vue
'
;
const
buttonTitle
=
'
Resolve discussion
'
;
const
buttonTitle
=
'
Resolve discussion
'
;
...
...
spec/frontend/notes/old_notes_spec.js
View file @
4fb919b1
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
_
from
'
underscore
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
urlUtility
from
'
~/lib/utils/url_utility
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
createSpyObj
}
from
'
helpers/jest_helpers
'
;
import
{
createSpyObj
}
from
'
helpers/jest_helpers
'
;
import
{
setTestTimeoutOnce
}
from
'
helpers/timeout
'
;
import
{
setTestTimeoutOnce
}
from
'
helpers/timeout
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
*
as
urlUtility
from
'
~/lib/utils/url_utility
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
// These must be imported synchronously because they pull dependencies
// These must be imported synchronously because they pull dependencies
// from the DOM.
// from the DOM.
...
...
spec/frontend/operation_settings/components/external_dashboard_spec.js
View file @
4fb919b1
import
{
mount
,
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
mount
,
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
GlButton
,
GlLink
,
GlFormGroup
,
GlFormInput
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlLink
,
GlFormGroup
,
GlFormInput
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
ExternalDashboard
from
'
~/operation_settings/components/external_dashboard.vue
'
;
import
ExternalDashboard
from
'
~/operation_settings/components/external_dashboard.vue
'
;
import
store
from
'
~/operation_settings/store
'
;
import
store
from
'
~/operation_settings/store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
refreshCurrentPage
}
from
'
~/lib/utils/url_utility
'
;
import
{
refreshCurrentPage
}
from
'
~/lib/utils/url_utility
'
;
import
createFlash
from
'
~/flash
'
;
import
createFlash
from
'
~/flash
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
jest
.
mock
(
'
~/flash
'
);
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/pages/profiles/show/emoji_menu_spec.js
View file @
4fb919b1
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
EmojiMenu
from
'
~/pages/profiles/show/emoji_menu
'
;
import
EmojiMenu
from
'
~/pages/profiles/show/emoji_menu
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
describe
(
'
EmojiMenu
'
,
()
=>
{
describe
(
'
EmojiMenu
'
,
()
=>
{
const
dummyEmojiTag
=
'
<dummy></tag>
'
;
const
dummyEmojiTag
=
'
<dummy></tag>
'
;
...
...
spec/frontend/performance_bar/components/add_request_spec.js
View file @
4fb919b1
import
AddRequest
from
'
~/performance_bar/components/add_request.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
AddRequest
from
'
~/performance_bar/components/add_request.vue
'
;
describe
(
'
add request form
'
,
()
=>
{
describe
(
'
add request form
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/performance_bar/components/detailed_metric_spec.js
View file @
4fb919b1
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
DetailedMetric
from
'
~/performance_bar/components/detailed_metric.vue
'
;
import
DetailedMetric
from
'
~/performance_bar/components/detailed_metric.vue
'
;
import
RequestWarning
from
'
~/performance_bar/components/request_warning.vue
'
;
import
RequestWarning
from
'
~/performance_bar/components/request_warning.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
describe
(
'
detailedMetric
'
,
()
=>
{
describe
(
'
detailedMetric
'
,
()
=>
{
const
createComponent
=
props
=>
const
createComponent
=
props
=>
...
...
spec/frontend/performance_bar/components/performance_bar_app_spec.js
View file @
4fb919b1
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
PerformanceBarApp
from
'
~/performance_bar/components/performance_bar_app.vue
'
;
import
PerformanceBarApp
from
'
~/performance_bar/components/performance_bar_app.vue
'
;
import
PerformanceBarStore
from
'
~/performance_bar/stores/performance_bar_store
'
;
import
PerformanceBarStore
from
'
~/performance_bar/stores/performance_bar_store
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
describe
(
'
performance bar app
'
,
()
=>
{
describe
(
'
performance bar app
'
,
()
=>
{
const
store
=
new
PerformanceBarStore
();
const
store
=
new
PerformanceBarStore
();
...
...
spec/frontend/performance_bar/components/request_selector_spec.js
View file @
4fb919b1
import
RequestSelector
from
'
~/performance_bar/components/request_selector.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
RequestSelector
from
'
~/performance_bar/components/request_selector.vue
'
;
describe
(
'
request selector
'
,
()
=>
{
describe
(
'
request selector
'
,
()
=>
{
const
requests
=
[
const
requests
=
[
...
...
spec/frontend/performance_bar/components/request_warning_spec.js
View file @
4fb919b1
import
RequestWarning
from
'
~/performance_bar/components/request_warning.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
RequestWarning
from
'
~/performance_bar/components/request_warning.vue
'
;
describe
(
'
request warning
'
,
()
=>
{
describe
(
'
request warning
'
,
()
=>
{
const
htmlId
=
'
request-123
'
;
const
htmlId
=
'
request-123
'
;
...
...
spec/frontend/pipelines/graph/job_item_spec.js
View file @
4fb919b1
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
JobItem
from
'
~/pipelines/components/graph/job_item.vue
'
;
import
JobItem
from
'
~/pipelines/components/graph/job_item.vue
'
;
describe
(
'
pipeline graph job item
'
,
()
=>
{
describe
(
'
pipeline graph job item
'
,
()
=>
{
...
...
spec/frontend/pipelines/test_reports/stores/actions_spec.js
View file @
4fb919b1
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
actions
from
'
~/pipelines/stores/test_reports/actions
'
;
import
*
as
actions
from
'
~/pipelines/stores/test_reports/actions
'
;
import
*
as
types
from
'
~/pipelines/stores/test_reports/mutation_types
'
;
import
*
as
types
from
'
~/pipelines/stores/test_reports/mutation_types
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
TEST_HOST
}
from
'
../../../helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
../../../helpers/test_constants
'
;
import
testAction
from
'
../../../helpers/vuex_action_helper
'
;
import
testAction
from
'
../../../helpers/vuex_action_helper
'
;
import
createFlash
from
'
~/flash
'
;
import
createFlash
from
'
~/flash
'
;
...
...
spec/frontend/pipelines/test_reports/stores/getters_spec.js
View file @
4fb919b1
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
import
{
iconForTestStatus
}
from
'
~/pipelines/stores/test_reports/utils
'
;
import
{
iconForTestStatus
}
from
'
~/pipelines/stores/test_reports/utils
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
describe
(
'
Getters TestReports Store
'
,
()
=>
{
describe
(
'
Getters TestReports Store
'
,
()
=>
{
let
state
;
let
state
;
...
...
spec/frontend/pipelines/test_reports/stores/mutations_spec.js
View file @
4fb919b1
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
*
as
types
from
'
~/pipelines/stores/test_reports/mutation_types
'
;
import
*
as
types
from
'
~/pipelines/stores/test_reports/mutation_types
'
;
import
mutations
from
'
~/pipelines/stores/test_reports/mutations
'
;
import
mutations
from
'
~/pipelines/stores/test_reports/mutations
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
describe
(
'
Mutations TestReports Store
'
,
()
=>
{
describe
(
'
Mutations TestReports Store
'
,
()
=>
{
let
mockState
;
let
mockState
;
...
...
spec/frontend/pipelines/test_reports/test_reports_spec.js
View file @
4fb919b1
import
Vuex
from
'
vuex
'
;
import
Vuex
from
'
vuex
'
;
import
TestReports
from
'
~/pipelines/components/test_reports/test_reports.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
*
as
actions
from
'
~/pipelines/stores/test_reports/actions
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
TestReports
from
'
~/pipelines/components/test_reports/test_reports.vue
'
;
import
*
as
actions
from
'
~/pipelines/stores/test_reports/actions
'
;
describe
(
'
Test reports app
'
,
()
=>
{
describe
(
'
Test reports app
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/pipelines/test_reports/test_suite_table_spec.js
View file @
4fb919b1
import
Vuex
from
'
vuex
'
;
import
Vuex
from
'
vuex
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
SuiteTable
from
'
~/pipelines/components/test_reports/test_suite_table.vue
'
;
import
SuiteTable
from
'
~/pipelines/components/test_reports/test_suite_table.vue
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
import
{
TestStatus
}
from
'
~/pipelines/constants
'
;
import
{
TestStatus
}
from
'
~/pipelines/constants
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
skippedTestCases
from
'
./mock_data
'
;
import
skippedTestCases
from
'
./mock_data
'
;
describe
(
'
Test reports suite table
'
,
()
=>
{
describe
(
'
Test reports suite table
'
,
()
=>
{
...
...
spec/frontend/pipelines/test_reports/test_summary_spec.js
View file @
4fb919b1
import
Summary
from
'
~/pipelines/components/test_reports/test_summary.vue
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
Summary
from
'
~/pipelines/components/test_reports/test_summary.vue
'
;
describe
(
'
Test reports summary
'
,
()
=>
{
describe
(
'
Test reports summary
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/pipelines/test_reports/test_summary_table_spec.js
View file @
4fb919b1
import
Vuex
from
'
vuex
'
;
import
Vuex
from
'
vuex
'
;
import
SummaryTable
from
'
~/pipelines/components/test_reports/test_summary_table.vue
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
mount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
SummaryTable
from
'
~/pipelines/components/test_reports/test_summary_table.vue
'
;
import
*
as
getters
from
'
~/pipelines/stores/test_reports/getters
'
;
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
localVue
.
use
(
Vuex
);
localVue
.
use
(
Vuex
);
...
...
spec/frontend/project_find_file_spec.js
View file @
4fb919b1
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
ProjectFindFile
from
'
~/project_find_file
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
sanitize
from
'
sanitize-html
'
;
import
sanitize
from
'
sanitize-html
'
;
import
ProjectFindFile
from
'
~/project_find_file
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
jest
.
mock
(
'
sanitize-html
'
,
()
=>
jest
.
fn
(
val
=>
val
));
jest
.
mock
(
'
sanitize-html
'
,
()
=>
jest
.
fn
(
val
=>
val
));
...
...
spec/frontend/registry/list/components/app_spec.js
View file @
4fb919b1
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
registry
from
'
~/registry/list/components/app.vue
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
registry
from
'
~/registry/list/components/app.vue
'
;
import
{
reposServerResponse
,
parsedReposServerResponse
}
from
'
../mock_data
'
;
import
{
reposServerResponse
,
parsedReposServerResponse
}
from
'
../mock_data
'
;
describe
(
'
Registry List
'
,
()
=>
{
describe
(
'
Registry List
'
,
()
=>
{
...
...
spec/frontend/registry/list/stores/actions_spec.js
View file @
4fb919b1
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
actions
from
'
~/registry/list/stores/actions
'
;
import
*
as
actions
from
'
~/registry/list/stores/actions
'
;
import
*
as
types
from
'
~/registry/list/stores/mutation_types
'
;
import
*
as
types
from
'
~/registry/list/stores/mutation_types
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
createFlash
from
'
~/flash
'
;
import
createFlash
from
'
~/flash
'
;
import
{
import
{
...
...
spec/frontend/registry/settings/stores/actions_spec.js
View file @
4fb919b1
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
*
as
actions
from
'
~/registry/settings/stores/actions
'
;
import
*
as
actions
from
'
~/registry/settings/stores/actions
'
;
import
*
as
types
from
'
~/registry/settings/stores/mutation_types
'
;
import
*
as
types
from
'
~/registry/settings/stores/mutation_types
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
jest
.
mock
(
'
~/flash.js
'
);
jest
.
mock
(
'
~/flash.js
'
);
...
...
spec/frontend/releases/detail/store/actions_spec.js
View file @
4fb919b1
import
axios
from
'
axios
'
;
import
axios
from
'
axios
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
*
as
actions
from
'
~/releases/detail/store/actions
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
*
as
actions
from
'
~/releases/detail/store/actions
'
;
import
*
as
types
from
'
~/releases/detail/store/mutation_types
'
;
import
*
as
types
from
'
~/releases/detail/store/mutation_types
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
state
from
'
~/releases/detail/store/state
'
;
import
state
from
'
~/releases/detail/store/state
'
;
...
...
spec/frontend/releases/list/components/release_block_footer_spec.js
View file @
4fb919b1
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
ReleaseBlockFooter
from
'
~/releases/list/components/release_block_footer.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
ReleaseBlockFooter
from
'
~/releases/list/components/release_block_footer.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
...
...
spec/frontend/releases/list/components/release_block_milestone_info_spec.js
View file @
4fb919b1
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
GlProgressBar
,
GlLink
,
GlBadge
,
GlButton
}
from
'
@gitlab/ui
'
;
import
{
GlProgressBar
,
GlLink
,
GlBadge
,
GlButton
}
from
'
@gitlab/ui
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
ReleaseBlockMilestoneInfo
from
'
~/releases/list/components/release_block_milestone_info.vue
'
;
import
ReleaseBlockMilestoneInfo
from
'
~/releases/list/components/release_block_milestone_info.vue
'
;
import
{
milestones
}
from
'
../../mock_data
'
;
import
{
milestones
}
from
'
../../mock_data
'
;
import
{
trimText
}
from
'
helpers/text_helper
'
;
import
{
MAX_MILESTONES_TO_DISPLAY
}
from
'
~/releases/list/constants
'
;
import
{
MAX_MILESTONES_TO_DISPLAY
}
from
'
~/releases/list/constants
'
;
describe
(
'
Release block milestone info
'
,
()
=>
{
describe
(
'
Release block milestone info
'
,
()
=>
{
...
...
spec/frontend/releases/list/components/release_block_spec.js
View file @
4fb919b1
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
first
}
from
'
underscore
'
;
import
EvidenceBlock
from
'
~/releases/list/components/evidence_block.vue
'
;
import
EvidenceBlock
from
'
~/releases/list/components/evidence_block.vue
'
;
import
ReleaseBlock
from
'
~/releases/list/components/release_block.vue
'
;
import
ReleaseBlock
from
'
~/releases/list/components/release_block.vue
'
;
import
ReleaseBlockFooter
from
'
~/releases/list/components/release_block_footer.vue
'
;
import
ReleaseBlockFooter
from
'
~/releases/list/components/release_block_footer.vue
'
;
import
timeagoMixin
from
'
~/vue_shared/mixins/timeago
'
;
import
timeagoMixin
from
'
~/vue_shared/mixins/timeago
'
;
import
{
first
}
from
'
underscore
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
{
release
}
from
'
../../mock_data
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
scrollToElement
}
from
'
~/lib/utils/common_utils
'
;
import
{
scrollToElement
}
from
'
~/lib/utils/common_utils
'
;
...
...
spec/frontend/reports/components/report_section_spec.js
View file @
4fb919b1
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
reportSection
from
'
~/reports/components/report_section.vue
'
;
import
mountComponent
,
{
mountComponentWithSlots
}
from
'
helpers/vue_mount_component_helper
'
;
import
mountComponent
,
{
mountComponentWithSlots
}
from
'
helpers/vue_mount_component_helper
'
;
import
reportSection
from
'
~/reports/components/report_section.vue
'
;
describe
(
'
Report section
'
,
()
=>
{
describe
(
'
Report section
'
,
()
=>
{
let
vm
;
let
vm
;
...
...
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