Skip to content

Fix Vue3 tests failures

What does this MR do and why?

Fix specs for Vue 3 migration

Fix incorrect stubbing for components

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.

  1. Run test locally VUE_VERSION=3 yarn jest --watch ee/spec/frontend/on_demand_scans/components/on_demand_scans_spec.js
  2. Checkout branch
  3. Run test locally VUE_VERSION=3 yarn jest --watch ee/spec/frontend/on_demand_scans/components/on_demand_scans_spec.js

Related to #481788 (closed)

Edited by Artur Fedorov

Merge request reports

Loading