Fix vue 3 jest spec failure for vulnerability details
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
- Run
VUE_VERSION=3 yarn ee/spec/frontend/security_dashboard/components/shared/vulnerability_details_graphql/index_spec.js --watch
- Checkout branch
- Run
VUE_VERSION=3 yarn jest ee/spec/frontend/security_dashboard/components/shared/vulnerability_details_graphql/index_spec.js --watch
- 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