Skip to content

Makes runner tabs test compatible with Vue 3

Miguel Rincon requested to merge 413309-make-router-test-vue-3-compatible into master

What does this MR do and why?

spec/frontend/ci/runner/components/runner_details_tabs_spec.js was flagged as non compatible with Vue 3 due to a jest.spyOn call, however this was not the reason for it to fail in Vue 3. I've fixed the gap that made it fail in Vue 3, so this test is ready. 👍

Screenshots or screen recordings

NA

How to set up and validate locally

VUE_VERSION=3 yarn jest spec/frontend/ci/runner/components/runner_details_tabs_spec.js

image

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #413309 (closed)

Merge request reports