Commit 55a1e928 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'move-mr-widget-options-specs-to-vue-test-utils' into 'master'

Migrate CE MrWidgetOptions spec to @vue/test-utils

See merge request gitlab-org/gitlab!51901
parents 1194e3e3 241088ed
......@@ -26,7 +26,11 @@ export default () => {
registerExtension(issueExtension);
const vm = new Vue({ ...MrWidgetOptions, apolloProvider });
const vm = new Vue({
el: '#js-vue-mr-widget',
...MrWidgetOptions,
apolloProvider,
});
window.gl.mrWidget = {
checkStatus: vm.checkStatus,
......
......@@ -48,7 +48,6 @@ import GroupedAccessibilityReportsApp from '../reports/accessibility_report/grou
import getStateQuery from './queries/get_state.query.graphql';
export default {
el: '#js-vue-mr-widget',
// False positive i18n lint: https://gitlab.com/gitlab-org/frontend/eslint-plugin-i18n/issues/25
// eslint-disable-next-line @gitlab/require-i18n-strings
name: 'MRWidget',
......
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