Fix spec violations in spec/frontend/vue_merge_request_widget/components/states/mr_widget_failed_to_merge_spec.js
### Problem description The spec file `spec/frontend/vue_merge_request_widget/components/states/mr_widget_failed_to_merge_spec.js` contains technical debt and/or antipatterns that need to be fixed. This is a prerequisite for updating our codebase to `Vue3`. ### Proposal The following issues have been identified in this spec file: * overriding method behavior Please see [the related epic](https://gitlab.com/groups/gitlab-org/-/epics/5102#plan) for more details on how these violations can be addressed.
issue