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
6e1a7902
Commit
6e1a7902
authored
May 28, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix last lints
parent
57770573
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
spec/javascripts/blob/notebook/index_spec.js
spec/javascripts/blob/notebook/index_spec.js
+7
-2
spec/javascripts/commit/commit_pipeline_status_component_spec.js
...vascripts/commit/commit_pipeline_status_component_spec.js
+1
-4
spec/javascripts/sidebar/confidential_issue_sidebar_spec.js
spec/javascripts/sidebar/confidential_issue_sidebar_spec.js
+1
-4
No files found.
spec/javascripts/blob/notebook/index_spec.js
View file @
6e1a7902
...
@@ -84,9 +84,14 @@ describe('iPython notebook renderer', () => {
...
@@ -84,9 +84,14 @@ describe('iPython notebook renderer', () => {
describe
(
'
error in JSON response
'
,
()
=>
{
describe
(
'
error in JSON response
'
,
()
=>
{
let
mock
;
let
mock
;
beforeEach
(
(
done
)
=>
{
beforeEach
(
done
=>
{
mock
=
new
MockAdapter
(
axios
);
mock
=
new
MockAdapter
(
axios
);
mock
.
onGet
(
'
/test
'
).
reply
(()
=>
Promise
.
reject
({
status
:
200
,
data
:
'
{ "cells": [{"cell_type": "markdown"} }
'
}));
mock
.
onGet
(
'
/test
'
)
.
reply
(()
=>
// eslint-disable-next-line prefer-promise-reject-errors
Promise
.
reject
({
status
:
200
,
data
:
'
{ "cells": [{"cell_type": "markdown"} }
'
}),
);
renderNotebook
();
renderNotebook
();
...
...
spec/javascripts/commit/commit_pipeline_status_component_spec.js
View file @
6e1a7902
...
@@ -75,10 +75,7 @@ describe('Commit pipeline status component', () => {
...
@@ -75,10 +75,7 @@ describe('Commit pipeline status component', () => {
describe
(
'
When polling data was not succesful
'
,
()
=>
{
describe
(
'
When polling data was not succesful
'
,
()
=>
{
beforeEach
(()
=>
{
beforeEach
(()
=>
{
mock
=
new
MockAdapter
(
axios
);
mock
=
new
MockAdapter
(
axios
);
mock
.
onGet
(
'
/dummy/endpoint
'
).
reply
(()
=>
{
mock
.
onGet
(
'
/dummy/endpoint
'
).
reply
(
502
,
{});
const
res
=
Promise
.
reject
([
502
,
{
}]);
return
res
;
});
vm
=
new
Component
({
vm
=
new
Component
({
props
:
{
props
:
{
endpoint
:
'
/dummy/endpoint
'
,
endpoint
:
'
/dummy/endpoint
'
,
...
...
spec/javascripts/sidebar/confidential_issue_sidebar_spec.js
View file @
6e1a7902
...
@@ -8,10 +8,7 @@ describe('Confidential Issue Sidebar Block', () => {
...
@@ -8,10 +8,7 @@ describe('Confidential Issue Sidebar Block', () => {
beforeEach
(()
=>
{
beforeEach
(()
=>
{
const
Component
=
Vue
.
extend
(
confidentialIssueSidebar
);
const
Component
=
Vue
.
extend
(
confidentialIssueSidebar
);
const
service
=
{
const
service
=
{
update
:
()
=>
new
Promise
((
resolve
,
reject
)
=>
{
update
:
()
=>
Promise
.
resolve
(
true
),
resolve
(
true
);
reject
(
'
failed!
'
);
}),
};
};
vm1
=
new
Component
({
vm1
=
new
Component
({
...
...
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