Remove restoring gon in tests

What does this MR do and why?

Remove restoring gon in tests afterEach blocks

This change is an addition to !114276 (merged) so we don't leave "bad examples" in the code of tests wrongly restoring window.gon to its previous states unnecessarily.

See more at: https://docs.gitlab.com/ee/development/testing_guide/frontend_testing.html#manipulate-gon-object

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.

Edited by Miguel Rincon

Merge request reports

Loading