Skip to content

Fix vue 3 jest spec failure for vulnerability details

Lorenz van Herwaarden requested to merge fix-vue-3-is-method-vulnerabilitty into master

What does this MR do and why?

Closes #480310 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Run VUE_VERSION=3 yarn ee/spec/frontend/security_dashboard/components/shared/vulnerability_details_graphql/index_spec.js --watch
  2. Checkout branch
  3. Run VUE_VERSION=3 yarn jest ee/spec/frontend/security_dashboard/components/shared/vulnerability_details_graphql/index_spec.js --watch
  4. Run VUE_VERSION=2 yarn jest ee/spec/frontend/security_dashboard/components/shared/vulnerability_details_graphql/index_spec.js --watch
Edited by Lorenz van Herwaarden

Merge request reports

Loading