Skip to content

Fix Vue 3 failing test pre_scan_verification_configurator_spec

What does this MR do and why?

Fix Vue 3 failing test

Replace mount with shallowMount

Add missing nextTick

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 full path to test
  2. Checkout branch
  3. Run test locally VUE_VERSION=3 yarn jest full path to test

template sourced from https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/merge_request_templates/Default.md

Related to #499941 (closed)

Merge request reports

Loading