-
Notifications
You must be signed in to change notification settings - Fork 9
feat(CSAF2.1): #366 add recommended test 6.2.46 - License #378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Coverage after merging feat/366-csaf-2.1_recommended_test_6.2.46 into main
Coverage Report
|
be033c6
to
2a0a03e
Compare
Coverage after merging feat/366-csaf-2.1_recommended_test_6.2.46 into main
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add documentation, how to generate / update / (or even auto-update) the file...
function containsOneLegalDisclaimerWithTitle(notes, titleToFind) { | ||
return ( | ||
notes.filter( | ||
(note) => | ||
note.category === 'legal_disclaimer' && note.title === titleToFind | ||
).length === 1 | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the implementation in mandatory tests => wrong category should be separate error.
2a0a03e
to
1061244
Compare
No description provided.