Skip to content

Resolve "Fix spec violations in dropdown_contents_spec.js"

What does this MR do and why?

Removed spying on dropdown methods, introduced stub.

Screenshots or screen recordings

No visual changes

How to set up and validate locally

Running this spec should pass :

yarn jest spec/frontend/vue_shared/components/color_select_dropdown/dropdown_contents_spec.js

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 #398202 (closed)

Edited by Paulina Sedlak-Jakubowska

Merge request reports