This MR removes spying on VUE instance method
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR resolves #391105 (closed)
It is not good practice to spy on Vue instance methods.
Better way is to stub child component and mock it's method and check if mock is called.
What was cleaned up from epic:
- Removed
wrapper.destroy()
- Remove spying on Vue components methods
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.
- Checkout branch
- Run test locally
- Or just check in pipeline
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 #391105 (closed)