Fix vue 3 jest spec failure for severity_badge.vue
What does this MR do and why?
Related &11741
Related &14952 (closed)
This fixes issues with the tooltip directive when running the spec with Vue 3.
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
Tooltip still works after small change in severity_badge.vue
.
How to set up and validate locally
- Run
VUE_VERSION=3 yarn jest ee/spec/frontend/vue_shared/security_reports/components/severity_badge_spec.js --watch
- Checkout branch
- Run
VUE_VERSION=3 yarn jest ee/spec/frontend/vue_shared/security_reports/components/severity_badge_spec.js --watch
Edited by Lorenz van Herwaarden