Fix vue 3 jest spec failure for history_entry
What does this MR do and why?
Related &14954
Closes #480337 (closed)
This makes sure we don't use the ref selector within the findAllComponents vue test utils method, since it's deprecated in v2. Check the related epic for more context.
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 jest ee/spec/frontend/vulnerabilities/history_entry_spec.js --watch - Checkout branch
- Run
VUE_VERSION=3 yarn jest ee/spec/frontend/vulnerabilities/history_entry_spec.js --watch
Edited by Lorenz van Herwaarden