Stub GlModal show and hide methods in tests
What does this MR do and why?
This MR stubs GlModal show and hide methods in tests instead of wrapper.vm.$refs.modal.show = jest.fn()
, since we want to avoid setting wrapper.vm
properties
Screenshots or screen recordings
How to set up and validate locally
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.
Edited by Coung Ngo