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
8cb06f20
Commit
8cb06f20
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/[a-l]
parent
25a97e59
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
30 additions
and
30 deletions
+30
-30
spec/frontend/admin/statistics_panel/components/app_spec.js
spec/frontend/admin/statistics_panel/components/app_spec.js
+1
-1
spec/frontend/autosave_spec.js
spec/frontend/autosave_spec.js
+1
-1
spec/frontend/behaviors/markdown/render_metrics_spec.js
spec/frontend/behaviors/markdown/render_metrics_spec.js
+1
-1
spec/frontend/boards/components/issue_time_estimate_spec.js
spec/frontend/boards/components/issue_time_estimate_spec.js
+1
-1
spec/frontend/clusters/clusters_bundle_spec.js
spec/frontend/clusters/clusters_bundle_spec.js
+4
-4
spec/frontend/clusters/components/application_row_spec.js
spec/frontend/clusters/components/application_row_spec.js
+1
-1
spec/frontend/clusters/components/applications_spec.js
spec/frontend/clusters/components/applications_spec.js
+2
-2
spec/frontend/clusters/components/uninstall_application_confirmation_modal_spec.js
...mponents/uninstall_application_confirmation_modal_spec.js
+1
-1
spec/frontend/commit/commit_pipeline_status_component_spec.js
.../frontend/commit/commit_pipeline_status_component_spec.js
+1
-1
spec/frontend/contributors/component/contributors_spec.js
spec/frontend/contributors/component/contributors_spec.js
+1
-1
spec/frontend/contributors/store/actions_spec.js
spec/frontend/contributors/store/actions_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/components/cluster_form_dropdown_spec.js
...ster/eks_cluster/components/cluster_form_dropdown_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/services/aws_services_facade_spec.js
..._cluster/eks_cluster/services/aws_services_facade_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/store/actions_spec.js
...frontend/create_cluster/eks_cluster/store/actions_spec.js
+1
-1
spec/frontend/create_merge_request_dropdown_spec.js
spec/frontend/create_merge_request_dropdown_spec.js
+1
-1
spec/frontend/error_tracking/components/error_tracking_list_spec.js
...end/error_tracking/components/error_tracking_list_spec.js
+1
-1
spec/frontend/error_tracking/store/details/actions_spec.js
spec/frontend/error_tracking/store/details/actions_spec.js
+1
-1
spec/frontend/error_tracking/store/list/actions_spec.js
spec/frontend/error_tracking/store/list/actions_spec.js
+1
-1
spec/frontend/error_tracking_settings/components/app_spec.js
spec/frontend/error_tracking_settings/components/app_spec.js
+1
-1
spec/frontend/error_tracking_settings/mock.js
spec/frontend/error_tracking_settings/mock.js
+1
-1
spec/frontend/grafana_integration/components/grafana_integration_spec.js
...rafana_integration/components/grafana_integration_spec.js
+1
-1
spec/frontend/import_projects/components/imported_project_table_row_spec.js
...rt_projects/components/imported_project_table_row_spec.js
+1
-1
spec/frontend/import_projects/store/actions_spec.js
spec/frontend/import_projects/store/actions_spec.js
+2
-2
spec/frontend/issuables_list/components/issuables_list_app_spec.js
...tend/issuables_list/components/issuables_list_app_spec.js
+1
-1
spec/frontend/lib/utils/suppress_ajax_errors_during_navigation_spec.js
.../lib/utils/suppress_ajax_errors_during_navigation_spec.js
+1
-1
No files found.
spec/frontend/admin/statistics_panel/components/app_spec.js
View file @
8cb06f20
import
Vuex
from
'
vuex
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
StatisticsPanelApp
from
'
~/admin/statistics_panel/components/app.vue
'
;
import
statisticsLabels
from
'
~/admin/statistics_panel/constants
'
;
import
createStore
from
'
~/admin/statistics_panel/store
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
mockStatistics
from
'
../mock_data
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/autosave_spec.js
View file @
8cb06f20
import
$
from
'
jquery
'
;
import
{
useLocalStorageSpy
}
from
'
helpers/local_storage_helper
'
;
import
Autosave
from
'
~/autosave
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
{
useLocalStorageSpy
}
from
'
helpers/local_storage_helper
'
;
describe
(
'
Autosave
'
,
()
=>
{
useLocalStorageSpy
();
...
...
spec/frontend/behaviors/markdown/render_metrics_spec.js
View file @
8cb06f20
import
Vue
from
'
vue
'
;
import
renderMetrics
from
'
~/behaviors/markdown/render_metrics
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
renderMetrics
from
'
~/behaviors/markdown/render_metrics
'
;
const
originalExtend
=
Vue
.
extend
;
...
...
spec/frontend/boards/components/issue_time_estimate_spec.js
View file @
8cb06f20
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
IssueTimeEstimate
from
'
~/boards/components/issue_time_estimate.vue
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
describe
(
'
Issue Time Estimate component
'
,
()
=>
{
let
wrapper
;
...
...
spec/frontend/clusters/clusters_bundle_spec.js
View file @
8cb06f20
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
{
loadHTMLFixture
}
from
'
helpers/fixtures
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
Clusters
from
'
~/clusters/clusters_bundle
'
;
import
{
APPLICATION_STATUS
,
...
...
@@ -5,11 +9,7 @@ import {
APPLICATIONS
,
RUNNER
,
}
from
'
~/clusters/constants
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
loadHTMLFixture
}
from
'
helpers/fixtures
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
$
from
'
jquery
'
;
import
initProjectSelectDropdown
from
'
~/project_select
'
;
jest
.
mock
(
'
~/lib/utils/poll
'
);
...
...
spec/frontend/clusters/components/application_row_spec.js
View file @
8cb06f20
import
Vue
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
eventHub
from
'
~/clusters/event_hub
'
;
import
{
APPLICATION_STATUS
}
from
'
~/clusters/constants
'
;
import
applicationRow
from
'
~/clusters/components/application_row.vue
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
DEFAULT_APPLICATION_STATE
}
from
'
../services/mock_data
'
;
describe
(
'
Application Row
'
,
()
=>
{
...
...
spec/frontend/clusters/components/applications_spec.js
View file @
8cb06f20
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
applications
from
'
~/clusters/components/applications.vue
'
;
import
{
CLUSTER_TYPE
}
from
'
~/clusters/constants
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
APPLICATIONS_MOCK_STATE
}
from
'
../services/mock_data
'
;
import
eventHub
from
'
~/clusters/event_hub
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
KnativeDomainEditor
from
'
~/clusters/components/knative_domain_editor.vue
'
;
import
CrossplaneProviderStack
from
'
~/clusters/components/crossplane_provider_stack.vue
'
;
...
...
spec/frontend/clusters/components/uninstall_application_confirmation_modal_spec.js
View file @
8cb06f20
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
{
GlModal
}
from
'
@gitlab/ui
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
{
INGRESS
}
from
'
~/clusters/constants
'
;
describe
(
'
UninstallApplicationConfirmationModal
'
,
()
=>
{
...
...
spec/frontend/commit/commit_pipeline_status_component_spec.js
View file @
8cb06f20
import
Visibility
from
'
visibilityjs
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
flash
from
'
~/flash
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
CommitPipelineStatus
from
'
~/projects/tree/components/commit_pipeline_status_component.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
../helpers/fixtures
'
;
jest
.
mock
(
'
~/lib/utils/poll
'
);
...
...
spec/frontend/contributors/component/contributors_spec.js
View file @
8cb06f20
import
Vue
from
'
vue
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
createStore
}
from
'
~/contributors/stores
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
ContributorsCharts
from
'
~/contributors/components/contributors.vue
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/contributors/store/actions_spec.js
View file @
8cb06f20
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
flashError
from
'
~/flash
'
;
import
*
as
actions
from
'
~/contributors/stores/actions
'
;
import
*
as
types
from
'
~/contributors/stores/mutation_types
'
;
...
...
spec/frontend/create_cluster/eks_cluster/components/cluster_form_dropdown_spec.js
View file @
8cb06f20
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
ClusterFormDropdown
from
'
~/create_cluster/eks_cluster/components/cluster_form_dropdown.vue
'
;
import
DropdownButton
from
'
~/vue_shared/components/dropdown/dropdown_button.vue
'
;
import
DropdownSearchInput
from
'
~/vue_shared/components/dropdown/dropdown_search_input.vue
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
describe
(
'
ClusterFormDropdown
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/create_cluster/eks_cluster/services/aws_services_facade_spec.js
View file @
8cb06f20
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
awsServicesFacadeFactory
from
'
~/create_cluster/eks_cluster/services/aws_services_facade
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
describe
(
'
awsServicesFacade
'
,
()
=>
{
let
apiPaths
;
...
...
spec/frontend/create_cluster/eks_cluster/store/actions_spec.js
View file @
8cb06f20
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
createState
from
'
~/create_cluster/eks_cluster/store/state
'
;
import
*
as
actions
from
'
~/create_cluster/eks_cluster/store/actions
'
;
import
{
...
...
@@ -23,7 +24,6 @@ import {
SIGN_OUT
,
}
from
'
~/create_cluster/eks_cluster/store/mutation_types
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
createFlash
from
'
~/flash
'
;
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/create_merge_request_dropdown_spec.js
View file @
8cb06f20
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
CreateMergeRequestDropdown
from
'
~/create_merge_request_dropdown
'
;
import
confidentialState
from
'
~/confidential_merge_request/state
'
;
import
{
TEST_HOST
}
from
'
./helpers/test_constants
'
;
...
...
spec/frontend/error_tracking/components/error_tracking_list_spec.js
View file @
8cb06f20
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
Vuex
from
'
vuex
'
;
import
ErrorTrackingList
from
'
~/error_tracking/components/error_tracking_list.vue
'
;
import
{
GlButton
,
GlEmptyState
,
...
...
@@ -9,6 +8,7 @@ import {
GlLink
,
GlSearchBoxByClick
,
}
from
'
@gitlab/ui
'
;
import
ErrorTrackingList
from
'
~/error_tracking/components/error_tracking_list.vue
'
;
import
errorsList
from
'
./list_mock.json
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/error_tracking/store/details/actions_spec.js
View file @
8cb06f20
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
createFlash
from
'
~/flash
'
;
import
*
as
actions
from
'
~/error_tracking/store/details/actions
'
;
import
*
as
types
from
'
~/error_tracking/store/details/mutation_types
'
;
...
...
spec/frontend/error_tracking/store/list/actions_spec.js
View file @
8cb06f20
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
actions
from
'
~/error_tracking/store/list/actions
'
;
import
*
as
types
from
'
~/error_tracking/store/list/mutation_types
'
;
...
...
spec/frontend/error_tracking_settings/components/app_spec.js
View file @
8cb06f20
import
Vuex
from
'
vuex
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
ErrorTrackingSettings
from
'
~/error_tracking_settings/components/app.vue
'
;
import
ErrorTrackingForm
from
'
~/error_tracking_settings/components/error_tracking_form.vue
'
;
import
ProjectDropdown
from
'
~/error_tracking_settings/components/project_dropdown.vue
'
;
import
createStore
from
'
~/error_tracking_settings/store
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
const
localVue
=
createLocalVue
();
localVue
.
use
(
Vuex
);
...
...
spec/frontend/error_tracking_settings/mock.js
View file @
8cb06f20
import
createStore
from
'
~/error_tracking_settings/store
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
createStore
from
'
~/error_tracking_settings/store
'
;
const
defaultStore
=
createStore
();
...
...
spec/frontend/grafana_integration/components/grafana_integration_spec.js
View file @
8cb06f20
import
{
mount
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
GrafanaIntegration
from
'
~/grafana_integration/components/grafana_integration.vue
'
;
import
{
createStore
}
from
'
~/grafana_integration/store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
refreshCurrentPage
}
from
'
~/lib/utils/url_utility
'
;
import
createFlash
from
'
~/flash
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/import_projects/components/imported_project_table_row_spec.js
View file @
8cb06f20
import
Vuex
from
'
vuex
'
;
import
createStore
from
'
~/import_projects/store
'
;
import
{
createLocalVue
,
mount
}
from
'
@vue/test-utils
'
;
import
createStore
from
'
~/import_projects/store
'
;
import
importedProjectTableRow
from
'
~/import_projects/components/imported_project_table_row.vue
'
;
import
STATUS_MAP
from
'
~/import_projects/constants
'
;
...
...
spec/frontend/import_projects/store/actions_spec.js
View file @
8cb06f20
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
...
...
@@ -27,8 +29,6 @@ import {
stopJobsPolling
,
}
from
'
~/import_projects/store/actions
'
;
import
state
from
'
~/import_projects/store/state
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
describe
(
'
import_projects store actions
'
,
()
=>
{
let
localState
;
...
...
spec/frontend/issuables_list/components/issuables_list_app_spec.js
View file @
8cb06f20
...
...
@@ -2,9 +2,9 @@ import axios from 'axios';
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
GlEmptyState
,
GlPagination
,
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
flash
from
'
~/flash
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
flash
from
'
~/flash
'
;
import
IssuablesListApp
from
'
~/issuables_list/components/issuables_list_app.vue
'
;
import
Issuable
from
'
~/issuables_list/components/issuable.vue
'
;
import
issueablesEventBus
from
'
~/issuables_list/eventhub
'
;
...
...
spec/frontend/lib/utils/suppress_ajax_errors_during_navigation_spec.js
View file @
8cb06f20
import
suppressAjaxErrorsDuringNavigation
from
'
~/lib/utils/suppress_ajax_errors_during_navigation
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
suppressAjaxErrorsDuringNavigation
from
'
~/lib/utils/suppress_ajax_errors_during_navigation
'
;
describe
(
'
suppressAjaxErrorsDuringNavigation
'
,
()
=>
{
const
OTHER_ERR_CODE
=
'
foo
'
;
...
...
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