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
c651973d
Commit
c651973d
authored
Feb 15, 2021
by
Vitaly Slobodin
Committed by
Natalia Tepluhina
Feb 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort leftovers in CE specs
Sort latest changes from master
parent
92c176f1
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
111 additions
and
120 deletions
+111
-120
.eslintrc.yml
.eslintrc.yml
+42
-40
app/assets/javascripts/behaviors/markdown/editor_extensions.js
...ssets/javascripts/behaviors/markdown/editor_extensions.js
+9
-12
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+11
-13
app/assets/javascripts/commit/pipelines/pipelines_table.vue
app/assets/javascripts/commit/pipelines/pipelines_table.vue
+2
-2
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+1
-0
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+3
-3
app/assets/javascripts/pages/projects/blob/show/index.js
app/assets/javascripts/pages/projects/blob/show/index.js
+1
-1
app/assets/javascripts/pages/projects/commit/show/index.js
app/assets/javascripts/pages/projects/commit/show/index.js
+1
-2
app/assets/javascripts/pipelines/components/pipelines_list/pipelines.vue
...scripts/pipelines/components/pipelines_list/pipelines.vue
+1
-1
app/assets/javascripts/pipelines/mixins/pipelines_mixin.js
app/assets/javascripts/pipelines/mixins/pipelines_mixin.js
+2
-2
app/assets/javascripts/repository/components/preview/index.vue
...ssets/javascripts/repository/components/preview/index.vue
+1
-1
app/assets/javascripts/terraform/index.js
app/assets/javascripts/terraform/index.js
+1
-1
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
...red/components/content_viewer/viewers/markdown_viewer.vue
+1
-2
app/assets/javascripts/vue_shared/components/markdown/field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+1
-1
ee/app/assets/javascripts/pages/groups/epics/show/index.js
ee/app/assets/javascripts/pages/groups/epics/show/index.js
+1
-1
spec/frontend/boards/board_list_deprecated_spec.js
spec/frontend/boards/board_list_deprecated_spec.js
+3
-4
spec/frontend/boards/board_list_helper.js
spec/frontend/boards/board_list_helper.js
+1
-3
spec/frontend/boards/issue_card_deprecated_spec.js
spec/frontend/boards/issue_card_deprecated_spec.js
+1
-1
spec/frontend/boards/list_spec.js
spec/frontend/boards/list_spec.js
+1
-2
spec/frontend/commits_spec.js
spec/frontend/commits_spec.js
+1
-1
spec/frontend/feature_highlight/feature_highlight_helper_spec.js
...ontend/feature_highlight/feature_highlight_helper_spec.js
+1
-1
spec/frontend/filtered_search/dropdown_user_spec.js
spec/frontend/filtered_search/dropdown_user_spec.js
+3
-0
spec/frontend/gfm_auto_complete_spec.js
spec/frontend/gfm_auto_complete_spec.js
+1
-2
spec/frontend/ide/components/repo_editor_spec.js
spec/frontend/ide/components/repo_editor_spec.js
+3
-3
spec/frontend/lib/utils/datetime_utility_spec.js
spec/frontend/lib/utils/datetime_utility_spec.js
+1
-1
spec/frontend/pages/dashboard/todos/index/todos_spec.js
spec/frontend/pages/dashboard/todos/index/todos_spec.js
+1
-1
spec/frontend/search_autocomplete_spec.js
spec/frontend/search_autocomplete_spec.js
+1
-2
spec/frontend/test_setup.js
spec/frontend/test_setup.js
+2
-3
spec/frontend_integration/ide/helpers/start.js
spec/frontend_integration/ide/helpers/start.js
+1
-1
spec/frontend_integration/ide/ide_integration_spec.js
spec/frontend_integration/ide/ide_integration_spec.js
+3
-3
spec/frontend_integration/test_helpers/factories/commit.js
spec/frontend_integration/test_helpers/factories/commit.js
+1
-1
spec/javascripts/fly_out_nav_browser_spec.js
spec/javascripts/fly_out_nav_browser_spec.js
+1
-1
spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js
...ts/monitoring/components/dashboard_resize_browser_spec.js
+3
-3
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+4
-5
No files found.
.eslintrc.yml
View file @
c651973d
...
@@ -42,7 +42,7 @@ rules:
...
@@ -42,7 +42,7 @@ rules:
no-jquery/no-serialize
:
error
no-jquery/no-serialize
:
error
promise/always-return
:
off
promise/always-return
:
off
promise/no-callback-in-promise
:
off
promise/no-callback-in-promise
:
off
"
@gitlab/no-global-event-off"
:
error
'
@gitlab/no-global-event-off'
:
error
import/order
:
import/order
:
-
error
-
error
-
groups
:
-
groups
:
...
@@ -57,19 +57,19 @@ rules:
...
@@ -57,19 +57,19 @@ rules:
group
:
internal
group
:
internal
-
pattern
:
emojis/**
-
pattern
:
emojis/**
group
:
internal
group
:
internal
-
pattern
:
"
{ee_,}empty_states/**"
-
pattern
:
'
{ee_,}empty_states/**'
group
:
internal
group
:
internal
-
pattern
:
"
{ee_,}icons/**"
-
pattern
:
'
{ee_,}icons/**'
group
:
internal
group
:
internal
-
pattern
:
"
{ee_,}images/**"
-
pattern
:
'
{ee_,}images/**'
group
:
internal
group
:
internal
-
pattern
:
vendor/**
-
pattern
:
vendor/**
group
:
internal
group
:
internal
-
pattern
:
shared_queries/**
-
pattern
:
shared_queries/**
group
:
internal
group
:
internal
-
pattern
:
"
{ee_,}spec/**"
-
pattern
:
'
{ee_,}spec/**'
group
:
internal
group
:
internal
-
pattern
:
"
{ee_,}jest/**"
-
pattern
:
'
{ee_,}jest/**'
group
:
internal
group
:
internal
-
pattern
:
ee_else_ce/**
-
pattern
:
ee_else_ce/**
group
:
internal
group
:
internal
...
@@ -77,13 +77,15 @@ rules:
...
@@ -77,13 +77,15 @@ rules:
group
:
internal
group
:
internal
-
pattern
:
ee_component/**
-
pattern
:
ee_component/**
group
:
internal
group
:
internal
-
pattern
:
"
{test_,}helpers/**"
-
pattern
:
'
{test_,}helpers/**'
group
:
internal
group
:
internal
-
pattern
:
test_fixtures/**
-
pattern
:
test_fixtures/**
group
:
internal
group
:
internal
alphabetize
:
order
:
asc
overrides
:
overrides
:
-
files
:
-
files
:
-
'
**/spec/**/*'
-
'
**/spec/**/*'
rules
:
rules
:
"
@gitlab/require-i18n-strings"
:
off
'
@gitlab/require-i18n-strings'
:
off
"
@gitlab/no-runtime-template-compiler"
:
off
'
@gitlab/no-runtime-template-compiler'
:
off
app/assets/javascripts/behaviors/markdown/editor_extensions.js
View file @
c651973d
...
@@ -22,27 +22,24 @@ import Heading from './nodes/heading';
...
@@ -22,27 +22,24 @@ import Heading from './nodes/heading';
import
HorizontalRule
from
'
./nodes/horizontal_rule
'
;
import
HorizontalRule
from
'
./nodes/horizontal_rule
'
;
import
Image
from
'
./nodes/image
'
;
import
Image
from
'
./nodes/image
'
;
import
ListItem
from
'
./nodes/list_item
'
;
import
OrderedList
from
'
./nodes/ordered_list
'
;
import
OrderedTaskList
from
'
./nodes/ordered_task_list
'
;
import
Paragraph
from
'
./nodes/paragraph
'
;
import
Reference
from
'
./nodes/reference
'
;
import
Reference
from
'
./nodes/reference
'
;
import
Summary
from
'
./nodes/summary
'
;
import
Table
from
'
./nodes/table
'
;
import
Table
from
'
./nodes/table
'
;
import
TableHead
from
'
./nodes/table_head
'
;
import
TableBody
from
'
./nodes/table_body
'
;
import
TableBody
from
'
./nodes/table_body
'
;
import
TableCell
from
'
./nodes/table_cell
'
;
import
TableHead
from
'
./nodes/table_head
'
;
import
TableHeaderRow
from
'
./nodes/table_header_row
'
;
import
TableHeaderRow
from
'
./nodes/table_header_row
'
;
import
TableOfContents
from
'
./nodes/table_of_contents
'
;
import
TableRow
from
'
./nodes/table_row
'
;
import
TableRow
from
'
./nodes/table_row
'
;
import
TableCell
from
'
./nodes/table_cell
'
;
import
TableOfContents
from
'
./nodes/table_of_contents
'
;
import
TaskList
from
'
./nodes/task_list
'
;
import
TaskList
from
'
./nodes/task_list
'
;
import
TaskListItem
from
'
./nodes/task_list_item
'
;
import
TaskListItem
from
'
./nodes/task_list_item
'
;
import
Video
from
'
./nodes/video
'
;
import
OrderedList
from
'
./nodes/ordered_list
'
;
import
ListItem
from
'
./nodes/list_item
'
;
import
OrderedTaskList
from
'
./nodes/ordered_task_list
'
;
import
Paragraph
from
'
./nodes/paragraph
'
;
import
Summary
from
'
./nodes/summary
'
;
import
Text
from
'
./nodes/text
'
;
import
Text
from
'
./nodes/text
'
;
import
Video
from
'
./nodes/video
'
;
// The filters referenced in lib/banzai/pipeline/gfm_pipeline.rb transform
// The filters referenced in lib/banzai/pipeline/gfm_pipeline.rb transform
// GitLab Flavored Markdown (GFM) to HTML.
// GitLab Flavored Markdown (GFM) to HTML.
...
...
app/assets/javascripts/boards/index.js
View file @
c651973d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
{
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
{
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
'
ee_else_ce/boards/models/issue
'
;
import
'
ee_else_ce/boards/models/issue
'
;
import
'
ee_else_ce/boards/models/list
'
;
import
'
ee_else_ce/boards/models/list
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
BoardSidebar
from
'
ee_else_ce/boards/components/board_sidebar
'
;
import
BoardSidebar
from
'
ee_else_ce/boards/components/board_sidebar
'
;
import
initNewListDropdown
from
'
ee_else_ce/boards/components/new_list_dropdown
'
;
import
initNewListDropdown
from
'
ee_else_ce/boards/components/new_list_dropdown
'
;
import
boardConfigToggle
from
'
ee_else_ce/boards/config_toggle
'
;
import
boardConfigToggle
from
'
ee_else_ce/boards/config_toggle
'
;
...
@@ -15,33 +15,31 @@ import {
...
@@ -15,33 +15,31 @@ import {
}
from
'
ee_else_ce/boards/ee_functions
'
;
}
from
'
ee_else_ce/boards/ee_functions
'
;
import
toggleEpicsSwimlanes
from
'
ee_else_ce/boards/toggle_epics_swimlanes
'
;
import
toggleEpicsSwimlanes
from
'
ee_else_ce/boards/toggle_epics_swimlanes
'
;
import
toggleLabels
from
'
ee_else_ce/boards/toggle_labels
'
;
import
toggleLabels
from
'
ee_else_ce/boards/toggle_labels
'
;
import
BoardAddNewColumnTrigger
from
'
~/boards/components/board_add_new_column_trigger.vue
'
;
import
BoardAddNewColumnTrigger
from
'
~/boards/components/board_add_new_column_trigger.vue
'
;
import
BoardContent
from
'
~/boards/components/board_content.vue
'
;
import
BoardContent
from
'
~/boards/components/board_content.vue
'
;
import
BoardExtraActions
from
'
~/boards/components/board_extra_actions.vue
'
;
import
BoardExtraActions
from
'
~/boards/components/board_extra_actions.vue
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
{
__
}
from
'
~/locale
'
;
import
'
./models/label
'
;
import
'
./models/label
'
;
import
'
./models/assignee
'
;
import
'
./models/assignee
'
;
import
toggleFocusMode
from
'
~/boards/toggle_focus
'
;
import
FilteredSearchBoards
from
'
~/boards/filtered_search_boards
'
;
import
eventHub
from
'
~/boards/eventhub
'
;
import
sidebarEventHub
from
'
~/sidebar/event_hub
'
;
import
'
~/boards/models/milestone
'
;
import
'
~/boards/models/milestone
'
;
import
'
~/boards/models/project
'
;
import
'
~/boards/models/project
'
;
import
'
~/boards/filters/due_date_filters
'
;
import
BoardAddIssuesModal
from
'
~/boards/components/modal/index.vue
'
;
import
eventHub
from
'
~/boards/eventhub
'
;
import
FilteredSearchBoards
from
'
~/boards/filtered_search_boards
'
;
import
modalMixin
from
'
~/boards/mixins/modal_mixins
'
;
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
ModalStore
from
'
~/boards/stores/modal_store
'
;
import
ModalStore
from
'
~/boards/stores/modal_store
'
;
import
modalMixin
from
'
~/boards/mixins/modal_mixin
s
'
;
import
toggleFocusMode
from
'
~/boards/toggle_focu
s
'
;
import
'
~/boards/filters/due_date_filters
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
BoardAddIssuesModal
from
'
~/boards/components/modal/index.vue
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
{
import
{
NavigationType
,
NavigationType
,
convertObjectPropsToCamelCase
,
convertObjectPropsToCamelCase
,
parseBoolean
,
parseBoolean
,
}
from
'
~/lib/utils/common_utils
'
;
}
from
'
~/lib/utils/common_utils
'
;
import
{
__
}
from
'
~/locale
'
;
import
sidebarEventHub
from
'
~/sidebar/event_hub
'
;
import
mountMultipleBoardsSwitcher
from
'
./mount_multiple_boards_switcher
'
;
import
mountMultipleBoardsSwitcher
from
'
./mount_multiple_boards_switcher
'
;
Vue
.
use
(
VueApollo
);
Vue
.
use
(
VueApollo
);
...
...
app/assets/javascripts/commit/pipelines/pipelines_table.vue
View file @
c651973d
<
script
>
<
script
>
import
{
GlButton
,
GlLoadingIcon
,
GlModal
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlLoadingIcon
,
GlModal
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
getParameterByName
}
from
'
~/lib/utils/common_utils
'
;
import
{
getParameterByName
}
from
'
~/lib/utils/common_utils
'
;
import
SvgBlankState
from
'
~/pipelines/components/pipelines_list/blank_state.vue
'
;
import
PipelinesTableComponent
from
'
~/pipelines/components/pipelines_list/pipelines_table.vue
'
;
import
eventHub
from
'
~/pipelines/event_hub
'
;
import
eventHub
from
'
~/pipelines/event_hub
'
;
import
PipelinesMixin
from
'
~/pipelines/mixins/pipelines_mixin
'
;
import
PipelinesMixin
from
'
~/pipelines/mixins/pipelines_mixin
'
;
import
PipelinesService
from
'
~/pipelines/services/pipelines_service
'
;
import
PipelinesService
from
'
~/pipelines/services/pipelines_service
'
;
import
PipelineStore
from
'
~/pipelines/stores/pipelines_store
'
;
import
PipelineStore
from
'
~/pipelines/stores/pipelines_store
'
;
import
PipelinesTableComponent
from
'
~/pipelines/components/pipelines_list/pipelines_table.vue
'
;
import
TablePagination
from
'
~/vue_shared/components/pagination/table_pagination.vue
'
;
import
TablePagination
from
'
~/vue_shared/components/pagination/table_pagination.vue
'
;
import
SvgBlankState
from
'
~/pipelines/components/pipelines_list/blank_state.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
...
app/assets/javascripts/main.js
View file @
c651973d
/* global $ */
/* global $ */
/* eslint-disable import/order */
import
jQuery
from
'
jquery
'
;
import
jQuery
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
...
...
app/assets/javascripts/notes.js
View file @
c651973d
...
@@ -10,13 +10,13 @@ class-methods-use-this */
...
@@ -10,13 +10,13 @@ class-methods-use-this */
old_notes_spec.js is the spec for the legacy, jQuery notes application. It has nothing to do with the new, fancy Vue notes app.
old_notes_spec.js is the spec for the legacy, jQuery notes application. It has nothing to do with the new, fancy Vue notes app.
*/
*/
import
{
GlDeprecatedSkeletonLoading
as
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
Autosize
from
'
autosize
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
escape
,
uniqueId
}
from
'
lodash
'
;
import
{
escape
,
uniqueId
}
from
'
lodash
'
;
import
Autosize
from
'
autosize
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
{
GlDeprecatedSkeletonLoading
as
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
import
Autosave
from
'
./autosave
'
;
import
Autosave
from
'
./autosave
'
;
...
...
app/assets/javascripts/pages/projects/blob/show/index.js
View file @
c651973d
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
PipelineTourSuccessModal
from
'
~/blob/pipeline_tour_success_modal.vue
'
;
import
BlobViewer
from
'
~/blob/viewer/index
'
;
import
BlobViewer
from
'
~/blob/viewer/index
'
;
import
GpgBadges
from
'
~/gpg_badges
'
;
import
GpgBadges
from
'
~/gpg_badges
'
;
import
initBlob
from
'
~/pages/projects/init_blob
'
;
import
initBlob
from
'
~/pages/projects/init_blob
'
;
import
initWebIdeLink
from
'
~/pages/projects/shared/web_ide_link
'
;
import
initWebIdeLink
from
'
~/pages/projects/shared/web_ide_link
'
;
import
commitPipelineStatus
from
'
~/projects/tree/components/commit_pipeline_status_component.vue
'
;
import
commitPipelineStatus
from
'
~/projects/tree/components/commit_pipeline_status_component.vue
'
;
import
'
~/sourcegraph/load
'
;
import
'
~/sourcegraph/load
'
;
import
PipelineTourSuccessModal
from
'
~/blob/pipeline_tour_success_modal.vue
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
BlobViewer
();
// eslint-disable-line no-new
new
BlobViewer
();
// eslint-disable-line no-new
...
...
app/assets/javascripts/pages/projects/commit/show/index.js
View file @
c651973d
/* eslint-disable no-new */
/* eslint-disable no-new */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
Diff
from
'
~/diff
'
;
import
Diff
from
'
~/diff
'
;
import
flash
from
'
~/flash
'
;
import
flash
from
'
~/flash
'
;
...
@@ -14,7 +14,6 @@ import { initCommitBoxInfo } from '~/projects/commit_box/info';
...
@@ -14,7 +14,6 @@ import { initCommitBoxInfo } from '~/projects/commit_box/info';
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
'
~/sourcegraph/load
'
;
import
'
~/sourcegraph/load
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
const
hasPerfBar
=
document
.
querySelector
(
'
.with-performance-bar
'
);
const
hasPerfBar
=
document
.
querySelector
(
'
.with-performance-bar
'
);
const
performanceHeight
=
hasPerfBar
?
35
:
0
;
const
performanceHeight
=
hasPerfBar
?
35
:
0
;
...
...
app/assets/javascripts/pipelines/components/pipelines_list/pipelines.vue
View file @
c651973d
...
@@ -10,11 +10,11 @@ import { ANY_TRIGGER_AUTHOR, RAW_TEXT_WARNING, FILTER_TAG_IDENTIFIER } from '../
...
@@ -10,11 +10,11 @@ import { ANY_TRIGGER_AUTHOR, RAW_TEXT_WARNING, FILTER_TAG_IDENTIFIER } from '../
import
PipelinesMixin
from
'
../../mixins/pipelines_mixin
'
;
import
PipelinesMixin
from
'
../../mixins/pipelines_mixin
'
;
import
PipelinesService
from
'
../../services/pipelines_service
'
;
import
PipelinesService
from
'
../../services/pipelines_service
'
;
import
{
validateParams
}
from
'
../../utils
'
;
import
{
validateParams
}
from
'
../../utils
'
;
import
SvgBlankState
from
'
./blank_state.vue
'
;
import
EmptyState
from
'
./empty_state.vue
'
;
import
EmptyState
from
'
./empty_state.vue
'
;
import
NavigationControls
from
'
./nav_controls.vue
'
;
import
NavigationControls
from
'
./nav_controls.vue
'
;
import
PipelinesFilteredSearch
from
'
./pipelines_filtered_search.vue
'
;
import
PipelinesFilteredSearch
from
'
./pipelines_filtered_search.vue
'
;
import
PipelinesTableComponent
from
'
./pipelines_table.vue
'
;
import
PipelinesTableComponent
from
'
./pipelines_table.vue
'
;
import
SvgBlankState
from
'
./blank_state.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
...
...
app/assets/javascripts/pipelines/mixins/pipelines_mixin.js
View file @
c651973d
import
Visibility
from
'
visibilityjs
'
;
import
Visibility
from
'
visibilityjs
'
;
import
{
deprecatedCreateFlash
as
createFlash
}
from
'
~/flash
'
;
import
{
deprecatedCreateFlash
as
createFlash
}
from
'
~/flash
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
{
historyPushState
,
buildUrlWithCurrentLocation
}
from
'
~/lib/utils/common_utils
'
;
import
{
historyPushState
,
buildUrlWithCurrentLocation
}
from
'
~/lib/utils/common_utils
'
;
import
{
validateParams
}
from
'
~/pipelines/utils
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
validateParams
}
from
'
~/pipelines/utils
'
;
import
{
CANCEL_REQUEST
}
from
'
../constants
'
;
import
{
CANCEL_REQUEST
}
from
'
../constants
'
;
import
eventHub
from
'
../event_hub
'
;
import
eventHub
from
'
../event_hub
'
;
...
...
app/assets/javascripts/repository/components/preview/index.vue
View file @
c651973d
<
script
>
<
script
>
/* eslint-disable vue/no-v-html */
/* eslint-disable vue/no-v-html */
import
{
GlIcon
,
GlLink
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
GlIcon
,
GlLink
,
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
handleLocationHash
}
from
'
~/lib/utils/common_utils
'
;
import
{
handleLocationHash
}
from
'
~/lib/utils/common_utils
'
;
import
readmeQuery
from
'
../../queries/readme.query.graphql
'
;
import
readmeQuery
from
'
../../queries/readme.query.graphql
'
;
...
...
app/assets/javascripts/terraform/index.js
View file @
c651973d
import
{
defaultDataIdFromObject
}
from
'
apollo-cache-inmemory
'
;
import
{
GlToast
}
from
'
@gitlab/ui
'
;
import
{
GlToast
}
from
'
@gitlab/ui
'
;
import
{
defaultDataIdFromObject
}
from
'
apollo-cache-inmemory
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
VueApollo
from
'
vue-apollo
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
...
...
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
View file @
c651973d
<
script
>
<
script
>
/* eslint-disable vue/no-v-html */
/* eslint-disable vue/no-v-html */
import
{
GlDeprecatedSkeletonLoading
as
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
GlDeprecatedSkeletonLoading
as
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
{
forEach
,
escape
}
from
'
lodash
'
;
import
{
forEach
,
escape
}
from
'
lodash
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
...
...
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
c651973d
<
script
>
<
script
>
/* eslint-disable vue/no-v-html */
/* eslint-disable vue/no-v-html */
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
unescape
}
from
'
lodash
'
;
import
{
unescape
}
from
'
lodash
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
GLForm
from
'
~/gl_form
'
;
import
GLForm
from
'
~/gl_form
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
...
...
ee/app/assets/javascripts/pages/groups/epics/show/index.js
View file @
c651973d
import
ShortcutsEpic
from
'
ee/behaviors/shortcuts/shortcuts_epic
'
;
import
ShortcutsEpic
from
'
ee/behaviors/shortcuts/shortcuts_epic
'
;
import
initEpicApp
from
'
ee/epic/epic_bundle
'
;
import
initEpicApp
from
'
ee/epic/epic_bundle
'
;
import
EpicTabs
from
'
ee/epic/epic_tabs
'
;
import
EpicTabs
from
'
ee/epic/epic_tabs
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
'
~/notes/index
'
;
import
'
~/notes/index
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
initEpicApp
();
initEpicApp
();
...
...
spec/frontend/boards/board_list_deprecated_spec.js
View file @
c651973d
/* global List */
/* global List */
/* global ListIssue */
/* global ListIssue */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
BoardList
from
'
~/boards/components/board_list_deprecated.vue
'
;
import
BoardList
from
'
~/boards/components/board_list_deprecated.vue
'
;
import
eventHub
from
'
~/boards/eventhub
'
;
import
eventHub
from
'
~/boards/eventhub
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/list
'
;
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/list
'
;
import
{
listObj
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
import
{
listObj
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
const
createComponent
=
({
done
,
listIssueProps
=
{},
componentProps
=
{},
listProps
=
{}
})
=>
{
const
createComponent
=
({
done
,
listIssueProps
=
{},
componentProps
=
{},
listProps
=
{}
})
=>
{
...
...
spec/frontend/boards/board_list_helper.js
View file @
c651973d
/* global List */
/* global List */
/* global ListIssue */
/* global ListIssue */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Sortable
from
'
sortablejs
'
;
import
Sortable
from
'
sortablejs
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
BoardList
from
'
~/boards/components/board_list_deprecated.vue
'
;
import
BoardList
from
'
~/boards/components/board_list_deprecated.vue
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/list
'
;
import
'
~/boards/models/list
'
;
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
listObj
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
import
{
listObj
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
window
.
Sortable
=
Sortable
;
window
.
Sortable
=
Sortable
;
...
...
spec/frontend/boards/issue_card_deprecated_spec.js
View file @
c651973d
/* global ListAssignee, ListLabel, ListIssue */
/* global ListAssignee, ListLabel, ListIssue */
import
{
GlLabel
}
from
'
@gitlab/ui
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
mount
}
from
'
@vue/test-utils
'
;
import
{
range
}
from
'
lodash
'
;
import
{
range
}
from
'
lodash
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/list
'
;
import
'
~/boards/models/list
'
;
import
{
GlLabel
}
from
'
@gitlab/ui
'
;
import
IssueCardInner
from
'
~/boards/components/issue_card_inner_deprecated.vue
'
;
import
IssueCardInner
from
'
~/boards/components/issue_card_inner_deprecated.vue
'
;
import
store
from
'
~/boards/stores
'
;
import
store
from
'
~/boards/stores
'
;
import
{
listObj
}
from
'
./mock_data
'
;
import
{
listObj
}
from
'
./mock_data
'
;
...
...
spec/frontend/boards/list_spec.js
View file @
c651973d
...
@@ -2,16 +2,15 @@
...
@@ -2,16 +2,15 @@
/* global ListAssignee */
/* global ListAssignee */
/* global ListIssue */
/* global ListIssue */
/* global ListLabel */
/* global ListLabel */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/assignee
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/issue
'
;
import
'
~/boards/models/list
'
;
import
'
~/boards/models/list
'
;
import
{
ListType
}
from
'
~/boards/constants
'
;
import
{
ListType
}
from
'
~/boards/constants
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
listObj
,
listObjDuplicate
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
import
{
listObj
,
listObjDuplicate
,
boardsMockInterceptor
}
from
'
./mock_data
'
;
describe
(
'
List model
'
,
()
=>
{
describe
(
'
List model
'
,
()
=>
{
...
...
spec/frontend/commits_spec.js
View file @
c651973d
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
vendor/jquery.endless-scroll
'
;
import
'
vendor/jquery.endless-scroll
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
CommitsList
from
'
~/commits
'
;
import
CommitsList
from
'
~/commits
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Pager
from
'
~/pager
'
;
import
Pager
from
'
~/pager
'
;
...
...
spec/frontend/feature_highlight/feature_highlight_helper_spec.js
View file @
c651973d
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
dismiss
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
dismiss
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
{
deprecatedCreateFlash
as
Flash
}
from
'
~/flash
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
httpStatusCodes
from
'
~/lib/utils/http_status
'
;
import
httpStatusCodes
from
'
~/lib/utils/http_status
'
;
jest
.
mock
(
'
~/flash
'
);
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/filtered_search/dropdown_user_spec.js
View file @
c651973d
import
DropdownUtils
from
'
~/filtered_search/dropdown_utils
'
;
import
DropdownUtils
from
'
~/filtered_search/dropdown_utils
'
;
// TODO: Moving this line up throws an error about `FilteredSearchDropdown`
// being undefined in test. See gitlab-org/gitlab#321476 for more info.
// eslint-disable-next-line import/order
import
DropdownUser
from
'
~/filtered_search/dropdown_user
'
;
import
DropdownUser
from
'
~/filtered_search/dropdown_user
'
;
import
FilteredSearchTokenizer
from
'
~/filtered_search/filtered_search_tokenizer
'
;
import
FilteredSearchTokenizer
from
'
~/filtered_search/filtered_search_tokenizer
'
;
import
IssuableFilteredTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
IssuableFilteredTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
...
...
spec/frontend/gfm_auto_complete_spec.js
View file @
c651973d
/* eslint no-param-reassign: "off" */
/* eslint no-param-reassign: "off" */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
GfmAutoComplete
,
{
membersBeforeSave
}
from
'
ee_else_ce/gfm_auto_complete
'
;
import
{
initEmojiMock
}
from
'
helpers/emoji
'
;
import
{
initEmojiMock
}
from
'
helpers/emoji
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
GfmAutoComplete
,
{
membersBeforeSave
}
from
'
ee_else_ce/gfm_auto_complete
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
getJSONFixture
}
from
'
helpers/fixtures
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
...
...
spec/frontend/ide/components/repo_editor_spec.js
View file @
c651973d
import
Vuex
from
'
vuex
'
;
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
Range
}
from
'
monaco-editor
'
;
import
{
Range
}
from
'
monaco-editor
'
;
import
Vue
from
'
vue
'
;
import
Vuex
from
'
vuex
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
{
createComponentWithStore
}
from
'
helpers/vue_mount_component_helper
'
;
import
{
createComponentWithStore
}
from
'
helpers/vue_mount_component_helper
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
waitUsingRealTimer
from
'
helpers/wait_using_real_timer
'
;
import
waitUsingRealTimer
from
'
helpers/wait_using_real_timer
'
;
...
...
spec/frontend/lib/utils/datetime_utility_spec.js
View file @
c651973d
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
timezoneMock
from
'
timezone-mock
'
;
import
timezoneMock
from
'
timezone-mock
'
;
import
*
as
datetimeUtility
from
'
~/lib/utils/datetime_utility
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
import
'
~/commons/bootstrap
'
;
import
'
~/commons/bootstrap
'
;
import
*
as
datetimeUtility
from
'
~/lib/utils/datetime_utility
'
;
describe
(
'
Date time utils
'
,
()
=>
{
describe
(
'
Date time utils
'
,
()
=>
{
describe
(
'
timeFor
'
,
()
=>
{
describe
(
'
timeFor
'
,
()
=>
{
...
...
spec/frontend/pages/dashboard/todos/index/todos_spec.js
View file @
c651973d
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Todos
from
'
~/pages/dashboard/todos/index/todos
'
;
import
'
~/lib/utils/common_utils
'
;
import
'
~/lib/utils/common_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
addDelimiter
}
from
'
~/lib/utils/text_utility
'
;
import
{
addDelimiter
}
from
'
~/lib/utils/text_utility
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
Todos
from
'
~/pages/dashboard/todos/index/todos
'
;
jest
.
mock
(
'
~/lib/utils/url_utility
'
,
()
=>
({
jest
.
mock
(
'
~/lib/utils/url_utility
'
,
()
=>
({
visitUrl
:
jest
.
fn
().
mockName
(
'
visitUrl
'
),
visitUrl
:
jest
.
fn
().
mockName
(
'
visitUrl
'
),
...
...
spec/frontend/search_autocomplete_spec.js
View file @
c651973d
/* eslint-disable no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign */
/* eslint-disable no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign */
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
{
mockTracking
,
unmockTracking
}
from
'
helpers/tracking_helper
'
;
import
{
mockTracking
,
unmockTracking
}
from
'
helpers/tracking_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
initSearchAutocomplete
from
'
~/search_autocomplete
'
;
import
initSearchAutocomplete
from
'
~/search_autocomplete
'
;
import
'
~/lib/utils/common_utils
'
;
import
'
~/lib/utils/common_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
describe
(
'
Search autocomplete dropdown
'
,
()
=>
{
describe
(
'
Search autocomplete dropdown
'
,
()
=>
{
let
widget
=
null
;
let
widget
=
null
;
...
...
spec/frontend/test_setup.js
View file @
c651973d
import
{
config
as
testUtilsConfig
}
from
'
@vue/test-utils
'
;
import
*
as
jqueryMatchers
from
'
custom-jquery-matchers
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
'
jquery
'
;
import
'
jquery
'
;
import
*
as
jqueryMatchers
from
'
custom-jquery-matchers
'
;
import
{
config
as
testUtilsConfig
}
from
'
@vue/test-utils
'
;
import
{
setGlobalDateToFakeDate
}
from
'
helpers/fake_date
'
;
import
{
setGlobalDateToFakeDate
}
from
'
helpers/fake_date
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
{
getJSONFixture
,
loadHTMLFixture
,
setHTMLFixture
}
from
'
./__helpers__/fixtures
'
;
import
{
getJSONFixture
,
loadHTMLFixture
,
setHTMLFixture
}
from
'
./__helpers__/fixtures
'
;
...
...
spec/frontend_integration/ide/helpers/start.js
View file @
c651973d
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
extendStore
from
'
~/ide/stores/extend
'
;
import
{
initIde
}
from
'
~/ide
'
;
import
{
initIde
}
from
'
~/ide
'
;
import
Editor
from
'
~/ide/lib/editor
'
;
import
Editor
from
'
~/ide/lib/editor
'
;
import
extendStore
from
'
~/ide/stores/extend
'
;
import
{
IDE_DATASET
}
from
'
./mock_data
'
;
import
{
IDE_DATASET
}
from
'
./mock_data
'
;
export
default
(
container
,
{
isRepoEmpty
=
false
,
path
=
''
}
=
{})
=>
{
export
default
(
container
,
{
isRepoEmpty
=
false
,
path
=
''
}
=
{})
=>
{
...
...
spec/frontend_integration/ide/ide_integration_spec.js
View file @
c651973d
import
{
waitForText
}
from
'
helpers/wait_for_text
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
{
useOverclockTimers
}
from
'
test_helpers/utils/overclock_timers
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
waitForText
}
from
'
helpers/wait_for_text
'
;
import
{
createCommitId
}
from
'
test_helpers/factories/commit_id
'
;
import
{
createCommitId
}
from
'
test_helpers/factories/commit_id
'
;
import
{
useOverclockTimers
}
from
'
test_helpers/utils/overclock_timers
'
;
import
*
as
ideHelper
from
'
./helpers/ide_helper
'
;
import
*
as
ideHelper
from
'
./helpers/ide_helper
'
;
import
startWebIDE
from
'
./helpers/start
'
;
import
startWebIDE
from
'
./helpers/start
'
;
...
...
spec/frontend_integration/test_helpers/factories/commit.js
View file @
c651973d
import
{
withValues
}
from
'
../utils/obj
'
;
import
{
getCommit
}
from
'
../fixtures
'
;
import
{
getCommit
}
from
'
../fixtures
'
;
import
{
withValues
}
from
'
../utils/obj
'
;
import
{
createCommitId
}
from
'
./commit_id
'
;
import
{
createCommitId
}
from
'
./commit_id
'
;
export
const
createNewCommit
=
({
id
=
createCommitId
(),
message
},
orig
=
getCommit
())
=>
{
export
const
createNewCommit
=
({
id
=
createCommitId
(),
message
},
orig
=
getCommit
())
=>
{
...
...
spec/javascripts/fly_out_nav_browser_spec.js
View file @
c651973d
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
// see: https://gitlab.com/groups/gitlab-org/-/epics/895#what-if-theres-a-karma-spec-which-is-simply-unmovable-to-jest-ie-it-is-dependent-on-a-running-browser-environment
// see: https://gitlab.com/groups/gitlab-org/-/epics/895#what-if-theres-a-karma-spec-which-is-simply-unmovable-to-jest-ie-it-is-dependent-on-a-running-browser-environment
import
{
GlBreakpointInstance
}
from
'
@gitlab/ui/dist/utils
'
;
import
{
GlBreakpointInstance
}
from
'
@gitlab/ui/dist/utils
'
;
import
{
SIDEBAR_COLLAPSED_CLASS
}
from
'
~/contextual_sidebar
'
;
import
{
import
{
calculateTop
,
calculateTop
,
showSubLevelItems
,
showSubLevelItems
,
...
@@ -19,7 +20,6 @@ import {
...
@@ -19,7 +20,6 @@ import {
setSidebar
,
setSidebar
,
subItemsMouseLeave
,
subItemsMouseLeave
,
}
from
'
~/fly_out_nav
'
;
}
from
'
~/fly_out_nav
'
;
import
{
SIDEBAR_COLLAPSED_CLASS
}
from
'
~/contextual_sidebar
'
;
describe
(
'
Fly out sidebar navigation
'
,
()
=>
{
describe
(
'
Fly out sidebar navigation
'
,
()
=>
{
let
el
;
let
el
;
...
...
spec/javascripts/monitoring/components/dashboard_resize_browser_spec.js
View file @
c651973d
...
@@ -5,14 +5,14 @@
...
@@ -5,14 +5,14 @@
* https://gitlab.com/groups/gitlab-org/-/epics/895#what-if-theres-a-karma-spec-which-is-simply-unmovable-to-jest-ie-it-is-dependent-on-a-running-browser-environment
* https://gitlab.com/groups/gitlab-org/-/epics/895#what-if-theres-a-karma-spec-which-is-simply-unmovable-to-jest-ie-it-is-dependent-on-a-running-browser-environment
*/
*/
import
Vue
from
'
vue
'
;
import
{
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
createLocalVue
}
from
'
@vue/test-utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
Vue
from
'
vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Dashboard
from
'
~/monitoring/components/dashboard.vue
'
;
import
Dashboard
from
'
~/monitoring/components/dashboard.vue
'
;
import
{
createStore
}
from
'
~/monitoring/stores
'
;
import
{
createStore
}
from
'
~/monitoring/stores
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
mockApiEndpoint
}
from
'
../mock_data
'
;
import
{
metricsDashboardPayload
,
dashboardProps
}
from
'
../fixture_data
'
;
import
{
metricsDashboardPayload
,
dashboardProps
}
from
'
../fixture_data
'
;
import
{
mockApiEndpoint
}
from
'
../mock_data
'
;
import
{
setupStoreWithData
}
from
'
../store_utils
'
;
import
{
setupStoreWithData
}
from
'
../store_utils
'
;
const
localVue
=
createLocalVue
();
const
localVue
=
createLocalVue
();
...
...
spec/javascripts/test_bundle.js
View file @
c651973d
...
@@ -2,19 +2,18 @@
...
@@ -2,19 +2,18 @@
jasmine/no-global-setup, no-underscore-dangle, no-console
jasmine/no-global-setup, no-underscore-dangle, no-console
*/
*/
import
{
config
as
testUtilsConfig
}
from
'
@vue/test-utils
'
;
import
jasmineDiff
from
'
jasmine-diff
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
'
core-js/features/set-immediate
'
;
import
'
core-js/features/set-immediate
'
;
import
'
vendor/jasmine-jquery
'
;
import
'
vendor/jasmine-jquery
'
;
import
'
~/commons
'
;
import
'
~/commons
'
;
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
jasmineDiff
from
'
jasmine-diff
'
;
import
{
config
as
testUtilsConfig
}
from
'
@vue/test-utils
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
{
getDefaultAdapter
}
from
'
~/lib/utils/axios_utils
'
;
import
{
getDefaultAdapter
}
from
'
~/lib/utils/axios_utils
'
;
import
{
FIXTURES_PATH
,
TEST_HOST
}
from
'
./test_constants
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
customMatchers
from
'
./matchers
'
;
import
customMatchers
from
'
./matchers
'
;
import
{
FIXTURES_PATH
,
TEST_HOST
}
from
'
./test_constants
'
;
// Tech debt issue TBD
// Tech debt issue TBD
testUtilsConfig
.
logModifiedComponents
=
false
;
testUtilsConfig
.
logModifiedComponents
=
false
;
...
...
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