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
cd28af36
Commit
cd28af36
authored
Oct 05, 2021
by
Dave Pisek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup: Use `findComponent` within specs
Changes from `find` to `findComponent` where applicable.
parent
d51d741f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/frontend/vulnerabilities/vulnerability_spec.js
ee/spec/frontend/vulnerabilities/vulnerability_spec.js
+4
-4
No files found.
ee/spec/frontend/vulnerabilities/vulnerability_spec.js
View file @
cd28af36
...
...
@@ -89,10 +89,10 @@ describe('Vulnerability', () => {
wrapper
.
destroy
();
});
const
findHeader
=
()
=>
wrapper
.
find
(
VulnerabilityHeader
);
const
findDetails
=
()
=>
wrapper
.
find
(
Details
);
const
findFooter
=
()
=>
wrapper
.
find
(
VulnerabilityFooter
);
const
findAlert
=
()
=>
wrapper
.
find
(
FalsePositiveAlert
);
const
findHeader
=
()
=>
wrapper
.
find
Component
(
VulnerabilityHeader
);
const
findDetails
=
()
=>
wrapper
.
find
Component
(
Details
);
const
findFooter
=
()
=>
wrapper
.
find
Component
(
VulnerabilityFooter
);
const
findAlert
=
()
=>
wrapper
.
find
Component
(
FalsePositiveAlert
);
describe
(
'
default behavior
'
,
()
=>
{
beforeEach
(()
=>
{
...
...
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