Skip to content

Fixes spec spying on methods in commit_section

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.

Related to #413303 (closed)

Edited by Miguel Rincon

Merge request reports