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
66cec99a
Commit
66cec99a
authored
Sep 26, 2019
by
Winnie Hellmann
Committed by
Mike Greiling
Sep 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable promise/valid-params ESLint rule
parent
3cefab32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
.eslintrc.yml
.eslintrc.yml
+0
-1
ee/spec/javascripts/vue_shared/security_reports/grouped_security_reports_app_spec.js
...red/security_reports/grouped_security_reports_app_spec.js
+3
-3
No files found.
.eslintrc.yml
View file @
66cec99a
...
@@ -46,7 +46,6 @@ rules:
...
@@ -46,7 +46,6 @@ rules:
promise/always-return
:
off
promise/always-return
:
off
promise/no-callback-in-promise
:
off
promise/no-callback-in-promise
:
off
promise/no-nesting
:
off
promise/no-nesting
:
off
promise/valid-params
:
off
overrides
:
overrides
:
files
:
files
:
-
'
**/spec/**/*'
-
'
**/spec/**/*'
...
...
ee/spec/javascripts/vue_shared/security_reports/grouped_security_reports_app_spec.js
View file @
66cec99a
...
@@ -78,7 +78,7 @@ describe('Grouped security reports app', () => {
...
@@ -78,7 +78,7 @@ describe('Grouped security reports app', () => {
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_ERROR
),
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_ERROR
),
])
])
.
then
(
done
)
.
then
(
done
)
.
catch
();
.
catch
(
done
.
fail
);
});
});
it
(
'
renders error state
'
,
()
=>
{
it
(
'
renders error state
'
,
()
=>
{
...
@@ -192,7 +192,7 @@ describe('Grouped security reports app', () => {
...
@@ -192,7 +192,7 @@ describe('Grouped security reports app', () => {
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_REPORTS
),
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_REPORTS
),
])
])
.
then
(
done
)
.
then
(
done
)
.
catch
();
.
catch
(
done
.
fail
);
});
});
it
(
'
renders reports
'
,
()
=>
{
it
(
'
renders reports
'
,
()
=>
{
...
@@ -355,7 +355,7 @@ describe('Grouped security reports app', () => {
...
@@ -355,7 +355,7 @@ describe('Grouped security reports app', () => {
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_DIFF_SUCCESS
)
waitForMutation
(
vm
.
$store
,
types
.
RECEIVE_DEPENDENCY_SCANNING_DIFF_SUCCESS
)
.
then
(
done
)
.
then
(
done
)
.
catch
();
.
catch
(
done
.
fail
);
});
});
it
(
'
should set setDependencyScanningDiffEndpoint
'
,
()
=>
{
it
(
'
should set setDependencyScanningDiffEndpoint
'
,
()
=>
{
...
...
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