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
d7be7906
Commit
d7be7906
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/javascripts/[j-n]
parent
13406da8
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
19 additions
and
19 deletions
+19
-19
spec/javascripts/jobs/components/job_app_spec.js
spec/javascripts/jobs/components/job_app_spec.js
+2
-2
spec/javascripts/jobs/components/job_container_item_spec.js
spec/javascripts/jobs/components/job_container_item_spec.js
+1
-1
spec/javascripts/jobs/components/job_log_spec.js
spec/javascripts/jobs/components/job_log_spec.js
+1
-1
spec/javascripts/jobs/components/stages_dropdown_spec.js
spec/javascripts/jobs/components/stages_dropdown_spec.js
+1
-1
spec/javascripts/jobs/mixins/delayed_job_mixin_spec.js
spec/javascripts/jobs/mixins/delayed_job_mixin_spec.js
+1
-1
spec/javascripts/jobs/store/actions_spec.js
spec/javascripts/jobs/store/actions_spec.js
+2
-2
spec/javascripts/labels_issue_sidebar_spec.js
spec/javascripts/labels_issue_sidebar_spec.js
+1
-1
spec/javascripts/landing_spec.js
spec/javascripts/landing_spec.js
+1
-1
spec/javascripts/lib/utils/common_utils_spec.js
spec/javascripts/lib/utils/common_utils_spec.js
+1
-1
spec/javascripts/notebook/cells/markdown_spec.js
spec/javascripts/notebook/cells/markdown_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/notes/components/discussion_counter_spec.js
spec/javascripts/notes/components/discussion_counter_spec.js
+1
-1
spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js
...s/components/discussion_resolve_with_issue_button_spec.js
+1
-1
spec/javascripts/notes/components/note_actions_spec.js
spec/javascripts/notes/components/note_actions_spec.js
+1
-1
spec/javascripts/notes/components/toggle_replies_widget_spec.js
...avascripts/notes/components/toggle_replies_widget_spec.js
+1
-1
spec/javascripts/notes/stores/actions_spec.js
spec/javascripts/notes/stores/actions_spec.js
+2
-2
No files found.
spec/javascripts/jobs/components/job_app_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
waitForMutation
}
from
'
spec/helpers/vue_test_utils_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
jobApp
from
'
~/jobs/components/job_app.vue
'
;
import
jobApp
from
'
~/jobs/components/job_app.vue
'
;
import
createStore
from
'
~/jobs/store
'
;
import
createStore
from
'
~/jobs/store
'
;
import
*
as
types
from
'
~/jobs/store/mutation_types
'
;
import
*
as
types
from
'
~/jobs/store/mutation_types
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
waitForMutation
}
from
'
spec/helpers/vue_test_utils_helper
'
;
import
{
resetStore
}
from
'
../store/helpers
'
;
import
{
resetStore
}
from
'
../store/helpers
'
;
import
job
from
'
../mock_data
'
;
import
job
from
'
../mock_data
'
;
...
...
spec/javascripts/jobs/components/job_container_item_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
JobContainerItem
from
'
~/jobs/components/job_container_item.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
JobContainerItem
from
'
~/jobs/components/job_container_item.vue
'
;
import
job
from
'
../mock_data
'
;
import
job
from
'
../mock_data
'
;
describe
(
'
JobContainerItem
'
,
()
=>
{
describe
(
'
JobContainerItem
'
,
()
=>
{
...
...
spec/javascripts/jobs/components/job_log_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
component
from
'
~/jobs/components/job_log.vue
'
;
import
component
from
'
~/jobs/components/job_log.vue
'
;
import
createStore
from
'
~/jobs/store
'
;
import
createStore
from
'
~/jobs/store
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
resetStore
}
from
'
../store/helpers
'
;
import
{
resetStore
}
from
'
../store/helpers
'
;
describe
(
'
Job Log
'
,
()
=>
{
describe
(
'
Job Log
'
,
()
=>
{
...
...
spec/javascripts/jobs/components/stages_dropdown_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
component
from
'
~/jobs/components/stages_dropdown.vue
'
;
import
{
trimText
}
from
'
spec/helpers/text_helper
'
;
import
{
trimText
}
from
'
spec/helpers/text_helper
'
;
import
component
from
'
~/jobs/components/stages_dropdown.vue
'
;
import
mountComponent
from
'
../../helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
../../helpers/vue_mount_component_helper
'
;
describe
(
'
Stages Dropdown
'
,
()
=>
{
describe
(
'
Stages Dropdown
'
,
()
=>
{
...
...
spec/javascripts/jobs/mixins/delayed_job_mixin_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
delayedJobMixin
from
'
~/jobs/mixins/delayed_job_mixin
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
delayedJobMixin
from
'
~/jobs/mixins/delayed_job_mixin
'
;
describe
(
'
DelayedJobMixin
'
,
()
=>
{
describe
(
'
DelayedJobMixin
'
,
()
=>
{
const
delayedJobFixture
=
getJSONFixture
(
'
jobs/delayed.json
'
);
const
delayedJobFixture
=
getJSONFixture
(
'
jobs/delayed.json
'
);
...
...
spec/javascripts/jobs/store/actions_spec.js
View file @
d7be7906
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
import
{
setJobEndpoint
,
setJobEndpoint
,
...
@@ -27,8 +29,6 @@ import {
...
@@ -27,8 +29,6 @@ import {
}
from
'
~/jobs/store/actions
'
;
}
from
'
~/jobs/store/actions
'
;
import
state
from
'
~/jobs/store/state
'
;
import
state
from
'
~/jobs/store/state
'
;
import
*
as
types
from
'
~/jobs/store/mutation_types
'
;
import
*
as
types
from
'
~/jobs/store/mutation_types
'
;
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
describe
(
'
Job State actions
'
,
()
=>
{
describe
(
'
Job State actions
'
,
()
=>
{
let
mockedState
;
let
mockedState
;
...
...
spec/javascripts/labels_issue_sidebar_spec.js
View file @
d7be7906
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
_
from
'
underscore
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
IssuableContext
from
'
~/issuable_context
'
;
import
IssuableContext
from
'
~/issuable_context
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
_
from
'
underscore
'
;
import
'
~/gl_dropdown
'
;
import
'
~/gl_dropdown
'
;
import
'
select2
'
;
import
'
select2
'
;
...
...
spec/javascripts/landing_spec.js
View file @
d7be7906
import
Landing
from
'
~/landing
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
Landing
from
'
~/landing
'
;
describe
(
'
Landing
'
,
function
()
{
describe
(
'
Landing
'
,
function
()
{
describe
(
'
class constructor
'
,
function
()
{
describe
(
'
class constructor
'
,
function
()
{
...
...
spec/javascripts/lib/utils/common_utils_spec.js
View file @
d7be7906
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
commonUtils
from
'
~/lib/utils/common_utils
'
;
import
*
as
commonUtils
from
'
~/lib/utils/common_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
faviconDataUrl
,
overlayDataUrl
,
faviconWithOverlayDataUrl
}
from
'
./mock_data
'
;
import
{
faviconDataUrl
,
overlayDataUrl
,
faviconWithOverlayDataUrl
}
from
'
./mock_data
'
;
import
breakpointInstance
from
'
~/breakpoints
'
;
import
breakpointInstance
from
'
~/breakpoints
'
;
...
...
spec/javascripts/notebook/cells/markdown_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
MarkdownComponent
from
'
~/notebook/cells/markdown.vue
'
;
import
katex
from
'
katex
'
;
import
katex
from
'
katex
'
;
import
MarkdownComponent
from
'
~/notebook/cells/markdown.vue
'
;
const
Component
=
Vue
.
extend
(
MarkdownComponent
);
const
Component
=
Vue
.
extend
(
MarkdownComponent
);
...
...
spec/javascripts/notes/components/diff_with_note_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers
'
;
import
DiffWithNote
from
'
~/notes/components/diff_with_note.vue
'
;
import
DiffWithNote
from
'
~/notes/components/diff_with_note.vue
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers
'
;
const
discussionFixture
=
'
merge_requests/diff_discussion.json
'
;
const
discussionFixture
=
'
merge_requests/diff_discussion.json
'
;
const
imageDiscussionFixture
=
'
merge_requests/image_diff_discussion.json
'
;
const
imageDiscussionFixture
=
'
merge_requests/image_diff_discussion.json
'
;
...
...
spec/javascripts/notes/components/discussion_counter_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
createStore
from
'
~/notes/stores
'
;
import
createStore
from
'
~/notes/stores
'
;
import
DiscussionCounter
from
'
~/notes/components/discussion_counter.vue
'
;
import
DiscussionCounter
from
'
~/notes/components/discussion_counter.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
noteableDataMock
,
discussionMock
,
notesDataMock
}
from
'
../mock_data
'
;
import
{
noteableDataMock
,
discussionMock
,
notesDataMock
}
from
'
../mock_data
'
;
describe
(
'
DiscussionCounter component
'
,
()
=>
{
describe
(
'
DiscussionCounter component
'
,
()
=>
{
...
...
spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js
View file @
d7be7906
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
ResolveWithIssueButton
from
'
~/notes/components/discussion_resolve_with_issue_button.vue
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
ResolveWithIssueButton
from
'
~/notes/components/discussion_resolve_with_issue_button.vue
'
;
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
...
...
spec/javascripts/notes/components/note_actions_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
shallowMount
,
createLocalVue
,
createWrapper
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
,
createLocalVue
,
createWrapper
}
from
'
@vue/test-utils
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
createStore
from
'
~/notes/stores
'
;
import
createStore
from
'
~/notes/stores
'
;
import
noteActions
from
'
~/notes/components/note_actions.vue
'
;
import
noteActions
from
'
~/notes/components/note_actions.vue
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
userDataMock
}
from
'
../mock_data
'
;
import
{
userDataMock
}
from
'
../mock_data
'
;
describe
(
'
noteActions
'
,
()
=>
{
describe
(
'
noteActions
'
,
()
=>
{
...
...
spec/javascripts/notes/components/toggle_replies_widget_spec.js
View file @
d7be7906
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
toggleRepliesWidget
from
'
~/notes/components/toggle_replies_widget.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
toggleRepliesWidget
from
'
~/notes/components/toggle_replies_widget.vue
'
;
import
{
note
}
from
'
../mock_data
'
;
import
{
note
}
from
'
../mock_data
'
;
const
deepCloneObject
=
obj
=>
JSON
.
parse
(
JSON
.
stringify
(
obj
));
const
deepCloneObject
=
obj
=>
JSON
.
parse
(
JSON
.
stringify
(
obj
));
...
...
spec/javascripts/notes/stores/actions_spec.js
View file @
d7be7906
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Api
from
'
~/api
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
Api
from
'
~/api
'
;
import
actionsModule
,
*
as
actions
from
'
~/notes/stores/actions
'
;
import
actionsModule
,
*
as
actions
from
'
~/notes/stores/actions
'
;
import
*
as
mutationTypes
from
'
~/notes/stores/mutation_types
'
;
import
*
as
mutationTypes
from
'
~/notes/stores/mutation_types
'
;
import
*
as
notesConstants
from
'
~/notes/constants
'
;
import
*
as
notesConstants
from
'
~/notes/constants
'
;
...
@@ -15,7 +16,6 @@ import {
...
@@ -15,7 +16,6 @@ import {
noteableDataMock
,
noteableDataMock
,
individualNote
,
individualNote
,
}
from
'
../mock_data
'
;
}
from
'
../mock_data
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
const
TEST_ERROR_MESSAGE
=
'
Test error message
'
;
const
TEST_ERROR_MESSAGE
=
'
Test error message
'
;
...
...
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