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
7b3e3326
Commit
7b3e3326
authored
Jun 01, 2021
by
Dave Pisek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add specs to report section
parent
77336b01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
ee/spec/frontend/vulnerabilities/generic_report/report_section_spec.js
...end/vulnerabilities/generic_report/report_section_spec.js
+10
-9
No files found.
ee/spec/frontend/vulnerabilities/generic_report/report_section_spec.js
View file @
7b3e3326
...
...
@@ -6,24 +6,25 @@ import { extendedWrapper } from 'helpers/vue_test_utils_helper';
const
TEST_DATA
=
{
supportedTypes
:
{
one
:
{
name
:
'
one
'
,
url
:
{
name
:
'
url
'
,
type
:
REPORT_TYPES
.
url
,
href
:
'
http://foo.com
'
,
},
two
:
{
name
:
'
two
'
,
type
:
REPORT_TYPES
.
url
,
href
:
'
http://bar.com
'
,
},
three
:
{
table
:
{
name
:
'
table
'
,
type
:
REPORT_TYPES
.
table
,
header
:
[],
rows
:
[],
},
code
:
{
name
:
'
code
'
,
type
:
REPORT_TYPES
.
code
,
value
:
'
<h1>Foo</h1>
'
,
},
},
unsupportedTypes
:
{
four
:
{
unsupported
:
{
name
:
'
four
'
,
type
:
'
not-supported
'
,
},
...
...
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