Skip to content

Stub GlModal show and hide methods in tests

Coung Ngo requested to merge cngo-stub-glmodal-methods into master

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.

Edited by Coung Ngo

Merge request reports

Loading