Removes spyOn from test filter_body_spec.js
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR resolves 391101
It is not good practice to directly manipulate data of a component and override instance methods.
What was cleaned up from epic:
- Removed
wrapper.destroy()
- Removed
overriding method behavior
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 #391036 (closed) and 390830