Skip to content

refactor: simplify implementation

87b4e65
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

feat: add mandatory test 6.1.48 - SSVC #358

refactor: simplify implementation
87b4e65
Select commit
Loading
Failed to load commit list.
GitHub Actions / Mocha Tests (node v22.x) failed Oct 15, 2025 in 1s

1095 passed, 10 failed and 0 skipped

Tests failed

❌ test-results.json

1105 tests were completed in 3s with 1095 passed, 10 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests/all.js 256✔️ 320ms
tests/bcpLanguageTagChecker.js 32✔️ 19ms
tests/csaf_2_1/informativeTest_6_3_1.js 1✔️ 1ms
tests/csaf_2_1/informativeTest_6_3_12.js 2✔️ 0ms
tests/csaf_2_1/informativeTest_6_3_2.js 2✔️ 1ms
tests/csaf_2_1/informativeTest_6_3_4.js 1✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_10.js 1✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_13.js 4✔️ 2ms
tests/csaf_2_1/mandatoryTest_6_1_27_12.js 2✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_27_14.js 2✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_27_15.js 2✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_27_16.js 2✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_27_17.js 2✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_27_18.js 2✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_27_19.js 2✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_35.js 3✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_37.js 22✔️ 4ms
tests/csaf_2_1/mandatoryTest_6_1_39.js 1✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_40.js 1✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_41.js 1✔️ 0ms
tests/csaf_2_1/mandatoryTest_6_1_43.js 26✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_45.js 3✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_48.js 2✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_52.js 5✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_6.js 2✔️ 1ms
tests/csaf_2_1/mandatoryTest_6_1_7.js 3✔️ 7ms
tests/csaf_2_1/mandatoryTest_6_1_9.js 2✔️ 1ms
tests/csaf_2_1/oasis.js 382✔️ 10❌ 1s
tests/csaf_2_1/recommendedTest_6_2_22.js 1✔️ 0ms
tests/csaf_2_1/recommendedTest_6_2_23.js 2✔️ 0ms
tests/csaf_2_1/recommendedTest_6_2_27.js 1✔️ 0ms
tests/csaf_2_1/recommendedTest_6_2_3.js 1✔️ 0ms
tests/csaf_2_1/recommendedTest_6_2_38.js 1✔️ 0ms
tests/csaf_2_1/schemaTests.js 2✔️ 6ms
tests/cvss4.js 8✔️ 10ms
tests/cwe.js 1✔️ 0ms
tests/dateHelper.js 6✔️ 0ms
tests/informativeTest_6_3_8.js 3✔️ 3ms
tests/informativeTest_6_3_9.js 13✔️ 1ms
tests/mandatoryTest_6_1_16.js 5✔️ 1ms
tests/mandatoryTest_6_1_24.js 4✔️ 0ms
tests/mandatoryTest_6_1_3.js 1✔️ 0ms
tests/mandatoryTest_6_1_30.js 3✔️ 0ms
tests/mandatoryTest_6_1_31.js 11✔️ 1ms
tests/mandatoryTest_6_1_8.js 1✔️ 0ms
tests/oasis.js 234✔️ 2s
tests/optionalTest_6_2_14.js 10✔️ 6ms
tests/optionalTest_6_2_19.js 19✔️ 2ms
tests/optionalTest_6_2_20.js 1✔️ 0ms
tests/validate.js 1✔️ 0ms

❌ tests/csaf_2_1/oasis.js

informative 6.3.1 failures
informative 6.3.1 valid
informative 6.3.10 failures
informative 6.3.10 valid
informative 6.3.11 failures
informative 6.3.11 valid
informative 6.3.2 failures
informative 6.3.2 valid
informative 6.3.3 failures
informative 6.3.3 valid
informative 6.3.4 failures
informative 6.3.4 valid
informative 6.3.5 failures
informative 6.3.6 failures
informative 6.3.6 valid
informative 6.3.7 failures
informative 6.3.7 valid
informative 6.3.8 failures
informative 6.3.8 valid
informative 6.3.9 failures
informative 6.3.9 valid
mandatory 6.1.1 failures
mandatory 6.1.10 failures
mandatory 6.1.10 valid
mandatory 6.1.11 failures
mandatory 6.1.11 valid
mandatory 6.1.12 failures
mandatory 6.1.13 failures
mandatory 6.1.13 valid
mandatory 6.1.14 failures
mandatory 6.1.14 valid
mandatory 6.1.15 failures
mandatory 6.1.15 valid
mandatory 6.1.16 failures
mandatory 6.1.16 valid
mandatory 6.1.17 failures
mandatory 6.1.18 failures
mandatory 6.1.19 failures
mandatory 6.1.2 failures
mandatory 6.1.20 failures
mandatory 6.1.21 failures
mandatory 6.1.21 valid
mandatory 6.1.22 failures
mandatory 6.1.23 failures
mandatory 6.1.24 failures
mandatory 6.1.24 valid
mandatory 6.1.25 failures
mandatory 6.1.27.1 failures
mandatory 6.1.27.10 failures
mandatory 6.1.27.12 failures
mandatory 6.1.27.12 valid
mandatory 6.1.27.14 failures
mandatory 6.1.27.14 valid
mandatory 6.1.27.15 failures
mandatory 6.1.27.15 valid
mandatory 6.1.27.16 failures
mandatory 6.1.27.16 valid
mandatory 6.1.27.17 failures
mandatory 6.1.27.17 valid
mandatory 6.1.27.18 failures
mandatory 6.1.27.18 valid
mandatory 6.1.27.19 failures
mandatory 6.1.27.19 valid
mandatory 6.1.27.2 failures
mandatory 6.1.27.5 failures
mandatory 6.1.27.7 failures
mandatory 6.1.27.8 failures
mandatory 6.1.27.9 failures
mandatory 6.1.27.9 valid
mandatory 6.1.28 failures
mandatory 6.1.28 valid
mandatory 6.1.29 failures
mandatory 6.1.29 valid
mandatory 6.1.3 failures
mandatory 6.1.30 failures
mandatory 6.1.30 valid
mandatory 6.1.31 failures
mandatory 6.1.31 valid
mandatory 6.1.32 failures
mandatory 6.1.32 valid
mandatory 6.1.33 failures
mandatory 6.1.33 valid
mandatory 6.1.34 failures
mandatory 6.1.34 valid
mandatory 6.1.35 failures
mandatory 6.1.35 valid
mandatory 6.1.36 failures
mandatory 6.1.36 valid
mandatory 6.1.38 failures
mandatory 6.1.38 valid
mandatory 6.1.39 failures
mandatory 6.1.39 valid
mandatory 6.1.4 failures
mandatory 6.1.40 failures
mandatory 6.1.40 valid
mandatory 6.1.41 failures
mandatory 6.1.41 valid
mandatory 6.1.43 failures
mandatory 6.1.43 valid
mandatory 6.1.45 failures
mandatory 6.1.45 valid
mandatory 6.1.48 failures
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-01.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-02.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-03.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-04.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-05.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-06.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-07.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-08.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-09.json
	Expected values to be strictly equal:
	
	true !== false
	
  ❌ mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-21.json
	Expected values to be strictly equal:
	
	true !== false
	
mandatory 6.1.48 valid
mandatory 6.1.5 failures
mandatory 6.1.52 failures
mandatory 6.1.52 valid
mandatory 6.1.6 failures
mandatory 6.1.6 valid
mandatory 6.1.7 failures
mandatory 6.1.7 valid
recommended 6.2.1 failures
recommended 6.2.1 valid
recommended 6.2.12 failures
recommended 6.2.13 failures
recommended 6.2.14 failures
recommended 6.2.14 valid
recommended 6.2.15 failures
recommended 6.2.15 valid
recommended 6.2.16 failures
recommended 6.2.16 valid
recommended 6.2.17 failures
recommended 6.2.17 valid
recommended 6.2.18 failures
recommended 6.2.18 valid
recommended 6.2.2 failures
recommended 6.2.22 failures
recommended 6.2.22 valid
recommended 6.2.23 failures
recommended 6.2.23 valid
recommended 6.2.27 failures
recommended 6.2.27 valid
recommended 6.2.28 failures
recommended 6.2.28 valid
recommended 6.2.29 failures
recommended 6.2.29 valid
recommended 6.2.3 failures
recommended 6.2.38 failures
recommended 6.2.38 valid
recommended 6.2.4 failures
recommended 6.2.5 failures
recommended 6.2.5 valid
recommended 6.2.6 failures
recommended 6.2.6 valid
recommended 6.2.7 failures
recommended 6.2.8 failures
recommended 6.2.9 failures

Annotations

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-01.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-02.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-03.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-04.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-05.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-06.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-07.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-08.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-09.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)

Check failure on line 0 in test-results.json

See this annotation in the file changed.

@github-actions github-actions / Mocha Tests (node v22.x)

tests/csaf_2_1/oasis.js ► mandatory 6.1.48 failures ► mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-48-21.json

Failed test found in:
  test-results.json
Error:
  Expected values to be strictly equal:
  
  true !== false
  
Raw output
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

true !== false

    at Context.<anonymous> (file:///home/runner/work/csaf-validator-lib/csaf-validator-lib/tests/csaf_2_1/oasis.js:140:26)