Fixes spec spying on methods in commit_section
requested to merge 413303-fix-spec-violations-in-spec-frontend-ci-pipeline_editor-components-commit into master
What does this MR do and why?
Fixes spec spying on methods in commit_section
This test bypasses the $mutate
call injected by Vue Apollo and spies on the writeQuery
method in the cache, making it possible to test this without modifying anything in the Vue instance.
Screenshots or screen recordings
NA
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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 #413303 (closed)
Edited by Miguel Rincon