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
80acb387
Commit
80acb387
authored
Dec 20, 2021
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored specs
parent
30151395
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/frontend/dependencies/components/app_spec.js
ee/spec/frontend/dependencies/components/app_spec.js
+1
-1
ee/spec/frontend/license_compliance/components/app_spec.js
ee/spec/frontend/license_compliance/components/app_spec.js
+1
-1
No files found.
ee/spec/frontend/dependencies/components/app_spec.js
View file @
80acb387
...
...
@@ -227,7 +227,7 @@ describe('DependenciesApp component', () => {
it
(
'
renders the SbomBannercomponent with the right props
'
,
()
=>
{
const
sbomBanner
=
findSbomBanner
();
expect
(
sbomBanner
.
exists
()).
toBe
(
true
);
expect
(
sbomBanner
.
props
().
sbomSurveySvgPath
).
toEqual
(
wrapper
.
vm
.
sbomSurveySvgPath
);
expect
(
sbomBanner
.
props
().
sbomSurveySvgPath
).
toEqual
(
basicAppProps
.
sbomSurveySvgPath
);
});
describe
(
'
given the user has public permissions
'
,
()
=>
{
...
...
ee/spec/frontend/license_compliance/components/app_spec.js
View file @
80acb387
...
...
@@ -192,7 +192,7 @@ describe('Project Licenses', () => {
it
(
'
renders the SbomBannercomponent with the right props
'
,
()
=>
{
const
sbomBanner
=
findSbomBanner
();
expect
(
sbomBanner
.
exists
()).
toBe
(
true
);
expect
(
sbomBanner
.
props
().
sbomSurveySvgPath
).
toEqual
(
wrapper
.
vm
.
sbomSurveySvgPath
);
expect
(
sbomBanner
.
props
().
sbomSurveySvgPath
).
toEqual
(
sbomSurveySvgPath
);
});
it
(
'
renders a "Detected in project" tab and a "Policies" tab
'
,
()
=>
{
...
...
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