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
d519cc1b
Commit
d519cc1b
authored
Feb 15, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort JavaScript imports
parent
a65bf5c7
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
11 deletions
+10
-11
ee/app/assets/javascripts/admin/dev_ops_report/components/devops_adoption_segment_modal.vue
...v_ops_report/components/devops_adoption_segment_modal.vue
+1
-1
ee/app/assets/javascripts/groups/settings/compliance_frameworks/utils.js
...avascripts/groups/settings/compliance_frameworks/utils.js
+1
-1
ee/spec/frontend/boards/components/issues_lane_list_spec.js
ee/spec/frontend/boards/components/issues_lane_list_spec.js
+1
-1
ee/spec/frontend/groups/settings/compliance_frameworks/components/list_spec.js
...ps/settings/compliance_frameworks/components/list_spec.js
+2
-2
ee/spec/frontend/groups/settings/compliance_frameworks/components/shared_form_spec.js
...ings/compliance_frameworks/components/shared_form_spec.js
+2
-3
ee/spec/frontend/groups/settings/compliance_frameworks/utils_spec.js
...ntend/groups/settings/compliance_frameworks/utils_spec.js
+1
-1
ee/spec/frontend/security_dashboard/components/vulnerability_count_spec.js
...security_dashboard/components/vulnerability_count_spec.js
+1
-1
spec/frontend/boards/components/board_column_spec.js
spec/frontend/boards/components/board_column_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/admin/dev_ops_report/components/devops_adoption_segment_modal.vue
View file @
d519cc1b
...
...
@@ -2,8 +2,8 @@
import
{
GlFormGroup
,
GlFormInput
,
GlFormRadioGroup
,
GlModal
,
GlAlert
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
convertToGraphQLId
,
TYPE_GROUP
}
from
'
~/graphql_shared/utils
'
;
import
*
as
Sentry
from
'
~/sentry/wrapper
'
;
import
createDevopsAdoptionSegmentMutation
from
'
../graphql/mutations/create_devops_adoption_segment.mutation.graphql
'
;
import
{
DEVOPS_ADOPTION_STRINGS
,
DEVOPS_ADOPTION_SEGMENT_MODAL_ID
}
from
'
../constants
'
;
import
createDevopsAdoptionSegmentMutation
from
'
../graphql/mutations/create_devops_adoption_segment.mutation.graphql
'
;
import
{
addSegmentToCache
}
from
'
../utils/cache_updates
'
;
export
default
{
...
...
ee/app/assets/javascripts/groups/settings/compliance_frameworks/utils.js
View file @
d519cc1b
import
httpStatus
from
'
~/lib/utils/http_status
'
;
import
Api
from
'
~/api
'
;
import
httpStatus
from
'
~/lib/utils/http_status
'
;
import
{
PIPELINE_CONFIGURATION_PATH_FORMAT
}
from
'
./constants
'
;
export
const
initialiseFormData
=
()
=>
({
...
...
ee/spec/frontend/boards/components/issues_lane_list_spec.js
View file @
d519cc1b
import
{
nextTick
}
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
nextTick
}
from
'
vue
'
;
import
IssuesLaneList
from
'
ee/boards/components/issues_lane_list.vue
'
;
import
{
mockList
}
from
'
jest/boards/mock_data
'
;
import
BoardCard
from
'
~/boards/components/board_card_layout.vue
'
;
...
...
ee/spec/frontend/groups/settings/compliance_frameworks/components/list_spec.js
View file @
d519cc1b
...
...
@@ -3,12 +3,12 @@ import { createLocalVue, shallowMount } from '@vue/test-utils';
import
VueApollo
from
'
vue-apollo
'
;
import
List
from
'
ee/groups/settings/compliance_frameworks/components/list.vue
'
;
import
EmptyState
from
'
ee/groups/settings/compliance_frameworks/components/list_empty_state.vue
'
;
import
ListItem
from
'
ee/groups/settings/compliance_frameworks/components/list_item.vue
'
;
import
{
PIPELINE_CONFIGURATION_PATH_FORMAT
}
from
'
ee/groups/settings/compliance_frameworks/constants
'
;
import
getComplianceFrameworkQuery
from
'
ee/groups/settings/compliance_frameworks/graphql/queries/get_compliance_framework.query.graphql
'
;
import
createMockApollo
from
'
helpers/mock_apollo_helper
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
PIPELINE_CONFIGURATION_PATH_FORMAT
}
from
'
ee/groups/settings/compliance_frameworks/constants
'
;
import
EmptyState
from
'
ee/groups/settings/compliance_frameworks/components/list_empty_state.vue
'
;
import
*
as
Sentry
from
'
~/sentry/wrapper
'
;
import
{
validFetchResponse
,
emptyFetchResponse
}
from
'
../mock_data
'
;
...
...
ee/spec/frontend/groups/settings/compliance_frameworks/components/shared_form_spec.js
View file @
d519cc1b
...
...
@@ -2,12 +2,11 @@ import { GlForm, GlSprintf } from '@gitlab/ui';
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
SharedForm
from
'
ee/groups/settings/compliance_frameworks/components/shared_form.vue
'
;
import
*
as
Utils
from
'
ee/groups/settings/compliance_frameworks/utils
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
ColorPicker
from
'
~/vue_shared/components/color_picker/color_picker.vue
'
;
import
*
as
Utils
from
'
ee/groups/settings/compliance_frameworks/utils
'
;
import
{
GlFormGroup
,
GlFormInput
}
from
'
../stubs
'
;
import
{
frameworkFoundResponse
,
suggestedLabelColors
}
from
'
../mock_data
'
;
import
{
GlFormGroup
,
GlFormInput
}
from
'
../stubs
'
;
describe
(
'
SharedForm
'
,
()
=>
{
let
wrapper
;
...
...
ee/spec/frontend/groups/settings/compliance_frameworks/utils_spec.js
View file @
d519cc1b
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
httpStatus
from
'
~/lib/utils/http_status
'
;
import
*
as
Utils
from
'
ee/groups/settings/compliance_frameworks/utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
httpStatus
from
'
~/lib/utils/http_status
'
;
const
GET_RAW_FILE_ENDPOINT
=
/
\/
api
\/(
.*
)\/
projects
\/
bar%2Fbaz
\/
repository
\/
files
\/
foo
\.
ya
?
ml
\/
raw/
;
...
...
ee/spec/frontend/security_dashboard/components/vulnerability_count_spec.js
View file @
d519cc1b
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlCard
}
from
'
@gitlab/ui
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
VulnerabilityCount
from
'
ee/security_dashboard/components/vulnerability_count.vue
'
;
import
SeverityBadge
from
'
ee/vue_shared/security_reports/components/severity_badge.vue
'
;
...
...
spec/frontend/boards/components/board_column_spec.js
View file @
d519cc1b
import
{
nextTick
}
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
nextTick
}
from
'
vue
'
;
import
{
listObj
}
from
'
jest/boards/mock_data
'
;
import
BoardColumn
from
'
~/boards/components/board_column.vue
'
;
...
...
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