Remove jest.spyOn for internal component methods
What does this MR do and why?
Replace use of jest.spyOn(wrapper.vm, ...)
with an equivalent validation. In this case, we can validate that the query params reflect the change of the selected VSA stage.
How to set up and validate locally
yarn jest ee/spec/frontend/analytics/cycle_analytics/components/base_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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #413369 (closed)