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
a24d1feb
Commit
a24d1feb
authored
Dec 17, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary async statements
parent
6b483cf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/frontend/security_dashboard/components/project/project_vulnerabilities_spec.js
...hboard/components/project/project_vulnerabilities_spec.js
+1
-1
ee/spec/frontend/security_dashboard/components/project/project_vulnerability_report_spec.js
...d/components/project/project_vulnerability_report_spec.js
+1
-1
No files found.
ee/spec/frontend/security_dashboard/components/project/project_vulnerabilities_spec.js
View file @
a24d1feb
...
...
@@ -298,7 +298,7 @@ describe('Vulnerabilities app component', () => {
});
});
it
(
`passes the translated scanner's name to the alert (
${
translatedScannerName
}
)`
,
async
()
=>
{
it
(
`passes the translated scanner's name to the alert (
${
translatedScannerName
}
)`
,
()
=>
{
expect
(
findSecurityScannerAlert
().
props
(
'
notEnabledScanners
'
)[
0
]).
toBe
(
translatedScannerName
,
);
...
...
ee/spec/frontend/security_dashboard/components/project/project_vulnerability_report_spec.js
View file @
a24d1feb
...
...
@@ -154,7 +154,7 @@ describe('Project vulnerability report app component', () => {
});
});
it
(
`passes the translated scanner's name to the alert (
${
translatedScannerName
}
)`
,
async
()
=>
{
it
(
`passes the translated scanner's name to the alert (
${
translatedScannerName
}
)`
,
()
=>
{
expect
(
findSecurityScannerAlert
().
props
(
'
notEnabledScanners
'
)[
0
]).
toBe
(
translatedScannerName
,
);
...
...
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