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
aa73809f
Commit
aa73809f
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/[a-e]
parent
69fbeb10
Changes
46
Hide whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
52 additions
and
52 deletions
+52
-52
spec/javascripts/badges/components/badge_form_spec.js
spec/javascripts/badges/components/badge_form_spec.js
+1
-1
spec/javascripts/badges/components/badge_list_row_spec.js
spec/javascripts/badges/components/badge_list_row_spec.js
+1
-1
spec/javascripts/badges/components/badge_list_spec.js
spec/javascripts/badges/components/badge_list_spec.js
+1
-1
spec/javascripts/badges/components/badge_settings_spec.js
spec/javascripts/badges/components/badge_settings_spec.js
+1
-1
spec/javascripts/badges/components/badge_spec.js
spec/javascripts/badges/components/badge_spec.js
+1
-1
spec/javascripts/badges/dummy_badge.js
spec/javascripts/badges/dummy_badge.js
+1
-1
spec/javascripts/badges/store/actions_spec.js
spec/javascripts/badges/store/actions_spec.js
+3
-3
spec/javascripts/blob/balsamiq/balsamiq_viewer_integration_spec.js
...scripts/blob/balsamiq/balsamiq_viewer_integration_spec.js
+1
-1
spec/javascripts/blob/pdf/index_spec.js
spec/javascripts/blob/pdf/index_spec.js
+1
-1
spec/javascripts/blob_edit/blob_bundle_spec.js
spec/javascripts/blob_edit/blob_bundle_spec.js
+1
-1
spec/javascripts/boards/board_list_common_spec.js
spec/javascripts/boards/board_list_common_spec.js
+1
-1
spec/javascripts/boards/boards_store_spec.js
spec/javascripts/boards/boards_store_spec.js
+1
-1
spec/javascripts/boards/components/board_form_spec.js
spec/javascripts/boards/components/board_form_spec.js
+1
-1
spec/javascripts/boards/components/boards_selector_spec.js
spec/javascripts/boards/components/boards_selector_spec.js
+1
-1
spec/javascripts/boards/components/issue_card_inner_scoped_label_spec.js
...s/boards/components/issue_card_inner_scoped_label_spec.js
+1
-1
spec/javascripts/boards/list_spec.js
spec/javascripts/boards/list_spec.js
+1
-1
spec/javascripts/ci_variable_list/ci_variable_list_spec.js
spec/javascripts/ci_variable_list/ci_variable_list_spec.js
+1
-1
spec/javascripts/commit/pipelines/pipelines_spec.js
spec/javascripts/commit/pipelines/pipelines_spec.js
+1
-1
spec/javascripts/create_cluster/gke_cluster/components/gke_machine_type_dropdown_spec.js
.../gke_cluster/components/gke_machine_type_dropdown_spec.js
+1
-1
spec/javascripts/create_cluster/gke_cluster/components/gke_project_id_dropdown_spec.js
...er/gke_cluster/components/gke_project_id_dropdown_spec.js
+1
-1
spec/javascripts/create_cluster/gke_cluster/components/gke_zone_dropdown_spec.js
..._cluster/gke_cluster/components/gke_zone_dropdown_spec.js
+1
-1
spec/javascripts/cycle_analytics/banner_spec.js
spec/javascripts/cycle_analytics/banner_spec.js
+1
-1
spec/javascripts/cycle_analytics/total_time_component_spec.js
.../javascripts/cycle_analytics/total_time_component_spec.js
+1
-1
spec/javascripts/deploy_keys/components/app_spec.js
spec/javascripts/deploy_keys/components/app_spec.js
+1
-1
spec/javascripts/diffs/components/app_spec.js
spec/javascripts/diffs/components/app_spec.js
+1
-1
spec/javascripts/diffs/components/diff_expansion_cell_spec.js
.../javascripts/diffs/components/diff_expansion_cell_spec.js
+1
-1
spec/javascripts/diffs/components/diff_file_spec.js
spec/javascripts/diffs/components/diff_file_spec.js
+2
-2
spec/javascripts/diffs/components/diff_line_gutter_content_spec.js
...scripts/diffs/components/diff_line_gutter_content_spec.js
+1
-1
spec/javascripts/diffs/components/diff_line_note_form_spec.js
.../javascripts/diffs/components/diff_line_note_form_spec.js
+1
-1
spec/javascripts/diffs/components/diff_table_cell_spec.js
spec/javascripts/diffs/components/diff_table_cell_spec.js
+1
-1
spec/javascripts/diffs/components/file_row_stats_spec.js
spec/javascripts/diffs/components/file_row_stats_spec.js
+1
-1
spec/javascripts/diffs/components/image_diff_overlay_spec.js
spec/javascripts/diffs/components/image_diff_overlay_spec.js
+1
-1
spec/javascripts/diffs/components/inline_diff_expansion_row_spec.js
...cripts/diffs/components/inline_diff_expansion_row_spec.js
+1
-1
spec/javascripts/diffs/components/inline_diff_table_row_spec.js
...avascripts/diffs/components/inline_diff_table_row_spec.js
+1
-1
spec/javascripts/diffs/components/inline_diff_view_spec.js
spec/javascripts/diffs/components/inline_diff_view_spec.js
+1
-1
spec/javascripts/diffs/components/parallel_diff_expansion_row_spec.js
...ipts/diffs/components/parallel_diff_expansion_row_spec.js
+1
-1
spec/javascripts/diffs/components/parallel_diff_table_row_spec.js
...ascripts/diffs/components/parallel_diff_table_row_spec.js
+1
-1
spec/javascripts/diffs/components/parallel_diff_view_spec.js
spec/javascripts/diffs/components/parallel_diff_view_spec.js
+2
-2
spec/javascripts/diffs/components/tree_list_spec.js
spec/javascripts/diffs/components/tree_list_spec.js
+1
-1
spec/javascripts/diffs/store/actions_spec.js
spec/javascripts/diffs/store/actions_spec.js
+1
-1
spec/javascripts/dropzone_input_spec.js
spec/javascripts/dropzone_input_spec.js
+1
-1
spec/javascripts/environments/emtpy_state_spec.js
spec/javascripts/environments/emtpy_state_spec.js
+1
-1
spec/javascripts/environments/environment_actions_spec.js
spec/javascripts/environments/environment_actions_spec.js
+2
-2
spec/javascripts/environments/environment_table_spec.js
spec/javascripts/environments/environment_table_spec.js
+1
-1
spec/javascripts/environments/environments_app_spec.js
spec/javascripts/environments/environments_app_spec.js
+1
-1
spec/javascripts/environments/folder/environments_folder_view_spec.js
...ipts/environments/folder/environments_folder_view_spec.js
+2
-2
No files found.
spec/javascripts/badges/components/badge_form_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
store
from
'
~/badges/store
'
;
import
createEmptyBadge
from
'
~/badges/empty_badge
'
;
import
BadgeForm
from
'
~/badges/components/badge_form.vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
DUMMY_IMAGE_URL
,
TEST_HOST
}
from
'
../../test_constants
'
;
// avoid preview background process
...
...
spec/javascripts/badges/components/badge_list_row_spec.js
View file @
aa73809f
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
GROUP_BADGE
,
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
import
store
from
'
~/badges/store
'
;
import
BadgeListRow
from
'
~/badges/components/badge_list_row.vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createDummyBadge
}
from
'
../dummy_badge
'
;
describe
(
'
BadgeListRow component
'
,
()
=>
{
...
...
spec/javascripts/badges/components/badge_list_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
GROUP_BADGE
,
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
import
store
from
'
~/badges/store
'
;
import
BadgeList
from
'
~/badges/components/badge_list.vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createDummyBadge
}
from
'
../dummy_badge
'
;
describe
(
'
BadgeList component
'
,
()
=>
{
...
...
spec/javascripts/badges/components/badge_settings_spec.js
View file @
aa73809f
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
store
from
'
~/badges/store
'
;
import
BadgeSettings
from
'
~/badges/components/badge_settings.vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createDummyBadge
}
from
'
../dummy_badge
'
;
describe
(
'
BadgeSettings component
'
,
()
=>
{
...
...
spec/javascripts/badges/components/badge_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
Badge
from
'
~/badges/components/badge.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
DUMMY_IMAGE_URL
,
TEST_HOST
}
from
'
spec/test_constants
'
;
import
Badge
from
'
~/badges/components/badge.vue
'
;
describe
(
'
Badge component
'
,
()
=>
{
const
Component
=
Vue
.
extend
(
Badge
);
...
...
spec/javascripts/badges/dummy_badge.js
View file @
aa73809f
import
_
from
'
underscore
'
;
import
{
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
import
{
DUMMY_IMAGE_URL
,
TEST_HOST
}
from
'
spec/test_constants
'
;
import
{
PROJECT_BADGE
}
from
'
~/badges/constants
'
;
export
const
createDummyBadge
=
()
=>
{
const
id
=
_
.
uniqueId
();
...
...
spec/javascripts/badges/store/actions_spec.js
View file @
aa73809f
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
actions
,
{
transformBackendBadge
}
from
'
~/badges/store/actions
'
;
import
mutationTypes
from
'
~/badges/store/mutation_types
'
;
import
createState
from
'
~/badges/store/state
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
import
{
createDummyBadge
,
createDummyBadgeResponse
}
from
'
../dummy_badge
'
;
describe
(
'
Badges store actions
'
,
()
=>
{
...
...
spec/javascripts/blob/balsamiq/balsamiq_viewer_integration_spec.js
View file @
aa73809f
import
BalsamiqViewer
from
'
~/blob/balsamiq/balsamiq_viewer
'
;
import
{
FIXTURES_PATH
}
from
'
spec/test_constants
'
;
import
BalsamiqViewer
from
'
~/blob/balsamiq/balsamiq_viewer
'
;
const
bmprPath
=
`
${
FIXTURES_PATH
}
/blob/balsamiq/test.bmpr`
;
...
...
spec/javascripts/blob/pdf/index_spec.js
View file @
aa73809f
import
renderPDF
from
'
~/blob/pdf
'
;
import
{
FIXTURES_PATH
}
from
'
spec/test_constants
'
;
import
renderPDF
from
'
~/blob/pdf
'
;
const
testPDF
=
`
${
FIXTURES_PATH
}
/blob/pdf/test.pdf`
;
...
...
spec/javascripts/blob_edit/blob_bundle_spec.js
View file @
aa73809f
import
blobBundle
from
'
~/blob_edit/blob_bundle
'
;
import
$
from
'
jquery
'
;
import
blobBundle
from
'
~/blob_edit/blob_bundle
'
;
describe
(
'
BlobBundle
'
,
()
=>
{
beforeEach
(()
=>
{
...
...
spec/javascripts/boards/board_list_common_spec.js
View file @
aa73809f
...
...
@@ -3,8 +3,8 @@
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Vue
from
'
vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Sortable
from
'
sortablejs
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
BoardList
from
'
~/boards/components/board_list.vue
'
;
import
'
~/boards/models/issue
'
;
...
...
spec/javascripts/boards/boards_store_spec.js
View file @
aa73809f
/* global ListIssue */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Cookies
from
'
js-cookie
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/assignee
'
;
...
...
spec/javascripts/boards/components/board_form_spec.js
View file @
aa73809f
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardForm
from
'
~/boards/components/board_form.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
board_form.vue
'
,
()
=>
{
const
props
=
{
...
...
spec/javascripts/boards/components/boards_selector_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
BoardsSelector
from
'
~/boards/components/boards_selector.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
BoardsSelector
from
'
~/boards/components/boards_selector.vue
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
const
throttleDuration
=
1
;
...
...
spec/javascripts/boards/components/issue_card_inner_scoped_label_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
IssueCardInnerScopedLabel
from
'
~/boards/components/issue_card_inner_scoped_label.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
IssueCardInnerScopedLabel
from
'
~/boards/components/issue_card_inner_scoped_label.vue
'
;
describe
(
'
IssueCardInnerScopedLabel Component
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/boards/list_spec.js
View file @
aa73809f
...
...
@@ -4,8 +4,8 @@
/* global ListLabel */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
_
from
'
underscore
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/issue
'
;
...
...
spec/javascripts/ci_variable_list/ci_variable_list_spec.js
View file @
aa73809f
import
$
from
'
jquery
'
;
import
VariableList
from
'
~/ci_variable_list/ci_variable_list
'
;
import
getSetTimeoutPromise
from
'
spec/helpers/set_timeout_promise_helper
'
;
import
VariableList
from
'
~/ci_variable_list/ci_variable_list
'
;
const
HIDE_CLASS
=
'
hide
'
;
...
...
spec/javascripts/commit/pipelines/pipelines_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Api
from
'
~/api
'
;
import
pipelinesTable
from
'
~/commit/pipelines/pipelines_table.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
Pipelines table in Commits and Merge requests
'
,
function
()
{
const
jsonFixtureName
=
'
pipelines/pipelines.json
'
;
...
...
spec/javascripts/create_cluster/gke_cluster/components/gke_machine_type_dropdown_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
GkeMachineTypeDropdown
from
'
~/create_cluster/gke_cluster/components/gke_machine_type_dropdown.vue
'
;
import
{
createStore
}
from
'
~/create_cluster/gke_cluster/store
'
;
import
{
...
...
@@ -7,7 +8,6 @@ import {
SET_ZONE
,
SET_MACHINE_TYPES
,
}
from
'
~/create_cluster/gke_cluster/store/mutation_types
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
selectedZoneMock
,
selectedProjectMock
,
...
...
spec/javascripts/create_cluster/gke_cluster/components/gke_project_id_dropdown_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
GkeProjectIdDropdown
from
'
~/create_cluster/gke_cluster/components/gke_project_id_dropdown.vue
'
;
import
{
createStore
}
from
'
~/create_cluster/gke_cluster/store
'
;
import
{
SET_PROJECTS
}
from
'
~/create_cluster/gke_cluster/store/mutation_types
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
emptyProjectMock
,
selectedProjectMock
}
from
'
../mock_data
'
;
import
{
gapi
}
from
'
../helpers
'
;
...
...
spec/javascripts/create_cluster/gke_cluster/components/gke_zone_dropdown_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
GkeZoneDropdown
from
'
~/create_cluster/gke_cluster/components/gke_zone_dropdown.vue
'
;
import
{
createStore
}
from
'
~/create_cluster/gke_cluster/store
'
;
import
{
...
...
@@ -6,7 +7,6 @@ import {
SET_ZONES
,
SET_PROJECT_BILLING_STATUS
,
}
from
'
~/create_cluster/gke_cluster/store/mutation_types
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
selectedZoneMock
,
selectedProjectMock
,
gapiZonesResponseMock
}
from
'
../mock_data
'
;
const
componentConfig
=
{
...
...
spec/javascripts/cycle_analytics/banner_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
banner
from
'
~/cycle_analytics/components/banner.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
banner
from
'
~/cycle_analytics/components/banner.vue
'
;
describe
(
'
Cycle analytics banner
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/cycle_analytics/total_time_component_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
component
from
'
~/cycle_analytics/components/total_time_component.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
component
from
'
~/cycle_analytics/components/total_time_component.vue
'
;
describe
(
'
Total time component
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/deploy_keys/components/app_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
eventHub
from
'
~/deploy_keys/eventhub
'
;
import
deployKeysApp
from
'
~/deploy_keys/components/app.vue
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
describe
(
'
Deploy keys app component
'
,
()
=>
{
const
data
=
getJSONFixture
(
'
deploy_keys/keys.json
'
);
...
...
spec/javascripts/diffs/components/app_spec.js
View file @
aa73809f
...
...
@@ -2,10 +2,10 @@ import Vuex from 'vuex';
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
Mousetrap
from
'
mousetrap
'
;
import
App
from
'
~/diffs/components/app.vue
'
;
import
NoChanges
from
'
~/diffs/components/no_changes.vue
'
;
import
DiffFile
from
'
~/diffs/components/diff_file.vue
'
;
import
Mousetrap
from
'
mousetrap
'
;
import
CompareVersions
from
'
~/diffs/components/compare_versions.vue
'
;
import
HiddenFilesWarning
from
'
~/diffs/components/hidden_files_warning.vue
'
;
import
CommitWidget
from
'
~/diffs/components/commit_widget.vue
'
;
...
...
spec/javascripts/diffs/components/diff_expansion_cell_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
DiffExpansionCell
from
'
~/diffs/components/diff_expansion_cell.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
const
EXPAND_UP_CLASS
=
'
.js-unfold
'
;
...
...
spec/javascripts/diffs/components/diff_file_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
DiffFileComponent
from
'
~/diffs/components/diff_file.vue
'
;
import
{
diffViewerModes
,
diffViewerErrors
}
from
'
~/ide/constants
'
;
import
{
createStore
}
from
'
ee_else_ce/mr_notes/stores
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
DiffFileComponent
from
'
~/diffs/components/diff_file.vue
'
;
import
{
diffViewerModes
,
diffViewerErrors
}
from
'
~/ide/constants
'
;
import
diffFileMockDataReadable
from
'
../mock_data/diff_file
'
;
import
diffFileMockDataUnreadable
from
'
../mock_data/diff_file_unreadable
'
;
...
...
spec/javascripts/diffs/components/diff_line_gutter_content_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
DiffLineGutterContent
from
'
~/diffs/components/diff_line_gutter_content.vue
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
discussionsMockData
from
'
../mock_data/diff_discussions
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
...
...
spec/javascripts/diffs/components/diff_line_note_form_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
DiffLineNoteForm
from
'
~/diffs/components/diff_line_note_form.vue
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
import
{
noteableDataMock
}
from
'
../../notes/mock_data
'
;
...
...
spec/javascripts/diffs/components/diff_table_cell_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
DiffTableCell
from
'
~/diffs/components/diff_table_cell.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
DiffTableCell
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/file_row_stats_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
FileRowStats
from
'
~/diffs/components/file_row_stats.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
FileRowStats
from
'
~/diffs/components/file_row_stats.vue
'
;
describe
(
'
Diff file row stats
'
,
()
=>
{
let
Component
;
...
...
spec/javascripts/diffs/components/image_diff_overlay_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
ImageDiffOverlay
from
'
~/diffs/components/image_diff_overlay.vue
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
imageDiffDiscussions
}
from
'
../mock_data/diff_discussions
'
;
describe
(
'
Diffs image diff overlay component
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/inline_diff_expansion_row_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
InlineDiffExpansionRow
from
'
~/diffs/components/inline_diff_expansion_row.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
InlineDiffExpansionRow
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/inline_diff_table_row_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
InlineDiffTableRow
from
'
~/diffs/components/inline_diff_table_row.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
InlineDiffTableRow
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/inline_diff_view_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
InlineDiffView
from
'
~/diffs/components/inline_diff_view.vue
'
;
import
{
createStore
}
from
'
ee_else_ce/mr_notes/stores
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
InlineDiffView
from
'
~/diffs/components/inline_diff_view.vue
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
import
discussionsMockData
from
'
../mock_data/diff_discussions
'
;
...
...
spec/javascripts/diffs/components/parallel_diff_expansion_row_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
ParallelDiffExpansionRow
from
'
~/diffs/components/parallel_diff_expansion_row.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
ParallelDiffExpansionRow
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/parallel_diff_table_row_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
createStore
}
from
'
~/mr_notes/stores
'
;
import
ParallelDiffTableRow
from
'
~/diffs/components/parallel_diff_table_row.vue
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
ParallelDiffTableRow
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/parallel_diff_view_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
ParallelDiffView
from
'
~/diffs/components/parallel_diff_view.vue
'
;
import
{
createStore
}
from
'
ee_else_ce/mr_notes/stores
'
;
import
*
as
constants
from
'
~/diffs/constants
'
;
import
{
createComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
ParallelDiffView
from
'
~/diffs/components/parallel_diff_view.vue
'
;
import
*
as
constants
from
'
~/diffs/constants
'
;
import
diffFileMockData
from
'
../mock_data/diff_file
'
;
describe
(
'
ParallelDiffView
'
,
()
=>
{
...
...
spec/javascripts/diffs/components/tree_list_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
Vuex
from
'
vuex
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
TreeList
from
'
~/diffs/components/tree_list.vue
'
;
import
createStore
from
'
~/diffs/store/modules
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
Diffs tree list component
'
,
()
=>
{
let
Component
;
...
...
spec/javascripts/diffs/store/actions_spec.js
View file @
aa73809f
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Cookies
from
'
js-cookie
'
;
import
mockDiffFile
from
'
spec/diffs/mock_data/diff_file
'
;
import
{
DIFF_VIEW_COOKIE_NAME
,
INLINE_DIFF_VIEW_TYPE
,
...
...
@@ -44,7 +45,6 @@ import actions, {
import
eventHub
from
'
~/notes/event_hub
'
;
import
*
as
types
from
'
~/diffs/store/mutation_types
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
mockDiffFile
from
'
spec/diffs/mock_data/diff_file
'
;
import
testAction
from
'
../../helpers/vuex_action_helper
'
;
describe
(
'
DiffsStoreActions
'
,
()
=>
{
...
...
spec/javascripts/dropzone_input_spec.js
View file @
aa73809f
import
$
from
'
jquery
'
;
import
dropzoneInput
from
'
~/dropzone_input
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
dropzoneInput
from
'
~/dropzone_input
'
;
const
TEST_FILE
=
new
File
([],
'
somefile.jpg
'
);
TEST_FILE
.
upload
=
{};
...
...
spec/javascripts/environments/emtpy_state_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
emptyState
from
'
~/environments/components/empty_state.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
emptyState
from
'
~/environments/components/empty_state.vue
'
;
describe
(
'
environments empty state
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/environments/environment_actions_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
eventHub
from
'
~/environments/event_hub
'
;
import
EnvironmentActions
from
'
~/environments/components/environment_actions.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
eventHub
from
'
~/environments/event_hub
'
;
import
EnvironmentActions
from
'
~/environments/components/environment_actions.vue
'
;
describe
(
'
EnvironmentActions Component
'
,
()
=>
{
const
Component
=
Vue
.
extend
(
EnvironmentActions
);
...
...
spec/javascripts/environments/environment_table_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
environmentTableComp
from
'
~/environments/components/environments_table.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
environmentTableComp
from
'
~/environments/components/environments_table.vue
'
;
describe
(
'
Environment table
'
,
()
=>
{
let
Component
;
...
...
spec/javascripts/environments/environments_app_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
environmentsComponent
from
'
~/environments/components/environments_app.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
environment
,
folder
}
from
'
./mock_data
'
;
describe
(
'
Environment
'
,
()
=>
{
...
...
spec/javascripts/environments/folder/environments_folder_view_spec.js
View file @
aa73809f
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
environmentsFolderViewComponent
from
'
~/environments/folder/environments_folder_view.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
removeBreakLine
,
removeWhitespace
}
from
'
spec/helpers/text_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
environmentsFolderViewComponent
from
'
~/environments/folder/environments_folder_view.vue
'
;
import
{
environmentsList
}
from
'
../mock_data
'
;
describe
(
'
Environments Folder View
'
,
()
=>
{
...
...
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