File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ export { recommendedTest_6_2_8 } from './recommendedTests/recommendedTest_6_2_8.
27
27
export { recommendedTest_6_2_9 } from './recommendedTests/recommendedTest_6_2_9.js'
28
28
export { recommendedTest_6_2_3 } from './recommendedTests/recommendedTest_6_2_3.js'
29
29
export { recommendedTest_6_2_22 } from './recommendedTests/recommendedTest_6_2_22.js'
30
+ export { recommendedTest_6_2_38 } from './recommendedTests/recommendedTest_6_2_38.js'
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ const inputSchema = /** @type {const} */ ({
17
17
const validate = ajv . compile ( inputSchema )
18
18
19
19
/**
20
- * This implements the optional test 6.2.38 of the CSAF 2.1 standard.
20
+ * This implements the recommended test 6.2.38 of the CSAF 2.1 standard.
21
21
*
22
22
/**
23
23
* @param {any } doc
24
24
*/
25
- export function optionalTest_6_2_38 ( doc ) {
25
+ export function recommendedTest_6_2_38 ( doc ) {
26
26
/** @type {Array<{ message: string; instancePath: string }> } */
27
27
const warnings = [ ]
28
28
const context = { warnings }
Original file line number Diff line number Diff line change 1
1
import assert from 'node:assert'
2
- import { optionalTest_6_2_38 } from '../../csaf_2_1/optionalTests .js'
2
+ import { recommendedTest_6_2_38 } from '../../csaf_2_1/recommendedTests .js'
3
3
4
- describe ( 'optionalTest_6_2_38 ' , function ( ) {
4
+ describe ( 'recommendedTest_6_2_38 ' , function ( ) {
5
5
it ( 'only runs on relevant documents' , function ( ) {
6
6
assert . equal (
7
- optionalTest_6_2_38 ( { vulnerabilities : 'mydoc' } ) . warnings . length ,
7
+ recommendedTest_6_2_38 ( { vulnerabilities : 'mydoc' } ) . warnings . length ,
8
8
0
9
9
)
10
10
} )
You can’t perform that action at this time.
0 commit comments