Skip to content

Remove direct modification of component instance

Eugie Limpin requested to merge el-vue3-migration-fix-work_item_links_spec into master

What does this MR do and why?

Resolves Fix spec violations in spec/frontend/work_items... (#413390 - closed) as part of Improve quality of Vue-related frontend testing... (&5102).

This MR removes direct modification of component instance (wrapper.vm.$refs.wrapper.show = jest.fn();) violation in spec/frontend/work_items/components/work_item_links/work_item_links_spec.js.

How to set up and validate locally

  1. Check that there are no failing frontend test pipeline jobs.

MR acceptance checklist

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

Edited by Eugie Limpin

Merge request reports