Commit de0d8322 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'xanf-remove-unused-helper' into 'master'

Remove unused operations/helper

Closes #9594

See merge request gitlab-org/gitlab!39907
parents 0009994c 4df37435
/**
* @deprecated
* DO NOT USE! This causes issues when `vue-test-utils` is used elsewhere.
* This function will be removed in https://gitlab.com/gitlab-org/gitlab/issues/9594.
*/
export function getChildInstances(vm, WrappedComponent) {
return vm.$children.filter(child => child instanceof WrappedComponent);
}
export function mouseEvent(el, eventType) {
const event = document.createEvent('MouseEvent');
event.initMouseEvent(eventType);
el.dispatchEvent(event);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment