Fix specs for Vue 3 migration
What does this MR do and why?
Fix specs for Vue 3 migration
Vue 3 specs with router without defined components and default route
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.
***NO VISUAL CHANGES***
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Run test locally
VUE_VERSION=3 yarn jest --watch
ee/spec/frontend/on_demand_scans/components/on_demand_scans_spec.js
- Checkout branch
- Run test locally
VUE_VERSION=3 yarn jest --watch
ee/spec/frontend/on_demand_scans/components/on_demand_scans_spec.js
Related to #480411 (closed)