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
83827b7d
Commit
83827b7d
authored
Oct 26, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint violations
parent
3cab2087
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
2 deletions
+8
-2
ee/app/assets/javascripts/epics/epic_show/components/epic_header.vue
...ts/javascripts/epics/epic_show/components/epic_header.vue
+1
-1
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
+1
-1
ee/spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
.../javascripts/epics/sidebar/components/sidebar_app_spec.js
+1
-0
ee/spec/javascripts/epics/sidebar/components/sidebar_date_picker_spec.js
...ipts/epics/sidebar/components/sidebar_date_picker_spec.js
+2
-0
ee/spec/javascripts/geo_nodes/components/geo_node_event_status_spec.js
...cripts/geo_nodes/components/geo_node_event_status_spec.js
+1
-0
ee/spec/javascripts/geo_nodes/components/geo_node_health_status_spec.js
...ripts/geo_nodes/components/geo_node_health_status_spec.js
+1
-0
ee/spec/javascripts/geo_nodes/components/geo_node_sync_settings_spec.js
...ripts/geo_nodes/components/geo_node_sync_settings_spec.js
+1
-0
No files found.
ee/app/assets/javascripts/epics/epic_show/components/epic_header.vue
View file @
83827b7d
...
...
@@ -70,8 +70,8 @@ export default {
},
methods
:
{
deleteEpic
()
{
// eslint-disable-next-line no-alert
if
(
window
.
confirm
(
s__
(
'
Epic will be removed! Are you sure?
'
)))
{
// eslint-disable-line no-alert
this
.
deleteLoading
=
true
;
this
.
$emit
(
'
deleteEpic
'
);
}
...
...
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
View file @
83827b7d
...
...
@@ -7,8 +7,8 @@ export default () => {
if
(
el
)
{
const
props
=
el
.
dataset
;
// eslint-disable-next-line no-new
new
Vue
({
// eslint-disable-line no-new
el
,
components
:
{
'
new-epic-app
'
:
NewEpicApp
,
...
...
ee/spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
View file @
83827b7d
...
...
@@ -109,6 +109,7 @@ describe('epicSidebar', () => {
expect
(
startDatePicker
.
querySelector
(
'
.value-type-fixed .value-content
'
).
innerText
.
trim
(),
).
toEqual
(
'
Jan 1, 2017
'
);
expect
(
endDatePicker
.
querySelector
(
'
.value-type-fixed .value-content
'
).
innerText
.
trim
(),
).
toEqual
(
'
Jan 1, 2018
'
);
...
...
ee/spec/javascripts/epics/sidebar/components/sidebar_date_picker_spec.js
View file @
83827b7d
...
...
@@ -110,6 +110,7 @@ describe('SidebarParticipants', () => {
expect
(
hrefContent
).
toContain
(
`
${
gon
.
gitlab_url
}
/help/user/group/epics/index.md#start-date-and-due-date`
,
);
expect
(
hrefContent
).
toContain
(
'
More information
'
);
});
});
...
...
@@ -125,6 +126,7 @@ describe('SidebarParticipants', () => {
expect
(
hrefContent
).
toContain
(
`
${
gon
.
gitlab_url
}
/help/user/group/epics/index.md#start-date-and-due-date`
,
);
expect
(
hrefContent
).
toContain
(
'
How can I solve this?
'
);
});
});
...
...
ee/spec/javascripts/geo_nodes/components/geo_node_event_status_spec.js
View file @
83827b7d
...
...
@@ -63,6 +63,7 @@ describe('GeoNodeEventStatus', () => {
expect
(
vm
.
$el
.
querySelector
(
'
strong
'
).
innerText
.
trim
()).
toBe
(
`
${
mockNodeDetails
.
lastEvent
.
id
}
`
,
);
expect
(
vm
.
$el
.
querySelector
(
'
.event-status-timestamp
'
).
innerText
).
toContain
(
'
ago
'
);
});
...
...
ee/spec/javascripts/geo_nodes/components/geo_node_health_status_spec.js
View file @
83827b7d
...
...
@@ -66,6 +66,7 @@ describe('GeoNodeHealthStatusComponent', () => {
expect
(
iconContainerEl
.
querySelector
(
'
svg use
'
).
getAttribute
(
'
xlink:href
'
)).
toContain
(
'
#status_success
'
,
);
expect
(
iconContainerEl
.
querySelector
(
'
.status-text
'
).
innerText
.
trim
()).
toBe
(
'
Healthy
'
);
vm
.
$destroy
();
});
...
...
ee/spec/javascripts/geo_nodes/components/geo_node_sync_settings_spec.js
View file @
83827b7d
...
...
@@ -96,6 +96,7 @@ describe('GeoNodeSyncSettingsComponent', () => {
expect
(
vm
.
statusTooltip
(
1000
)).
toBe
(
'
Node is slow, overloaded, or it just recovered after an outage.
'
,
);
expect
(
vm
.
statusTooltip
(
4000
)).
toBe
(
'
Node is failing or broken.
'
);
});
});
...
...
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