Skip to content

Fix incorrect DS_EXCLUDED_PATHS test for js-npm

Adam Cohen requested to merge fix-incorrect-ds-excluded-paths-test into master

What does this MR do?

This MR fixes an incorrect test for js-npm/minified-jquery with the DS_EXCLUDED_PATHS variable by doing the following:

  • Moving qa/expect/js-npm/minified-jquery/gl-dependency-scanning-report.json and qa/expect/js-npm/minified-jquery/default/gl-sbom-npm-npm.cdx.json to qa/expect/js-npm/minified-jquery/default/.
  • Adding a new expectation to qa/expect/js-npm/minified-jquery/with-excluded-paths/gl-dependency-scanning-report.json to check the scenario when DS_EXCLUDED_PATHS is set to JSONSelect.

See this discussion for more details.

What are the relevant issue numbers?

Replace 'report with scanned files' shared exam... (gitlab-org/gitlab#361600 - closed)

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports