Commit f21a812a authored by Jarek Ostrowski's avatar Jarek Ostrowski Committed by Paul Gascou-Vaillancourt

Prettify and fix jest errors

parent 4a7d9b6d
...@@ -149,11 +149,7 @@ export default { ...@@ -149,11 +149,7 @@ export default {
> >
{{ s__('mrWidget|Resolve conflicts') }} {{ s__('mrWidget|Resolve conflicts') }}
</gl-button> </gl-button>
<gl-popover <gl-popover v-if="showPopover" :target="() => $refs.popover" placement="top">
v-if="showPopover"
:target="() => $refs.popover"
placement="top"
>
<template #title> <template #title>
<div class="gl-font-weight-normal gl-font-base"> <div class="gl-font-weight-normal gl-font-base">
{{ $options.i18n.title }} {{ $options.i18n.title }}
......
...@@ -94,11 +94,7 @@ export default { ...@@ -94,11 +94,7 @@ export default {
> >
</div> </div>
</div> </div>
<gl-popover <gl-popover :target="rotationAssigneeUniqueID" :title="assignee.user.username" placement="top">
:target="rotationAssigneeUniqueID"
:title="assignee.user.username"
placement="top"
>
<p class="gl-m-0" data-testid="rotation-assignee-starts-at"> <p class="gl-m-0" data-testid="rotation-assignee-starts-at">
{{ startsAt }} {{ startsAt }}
</p> </p>
......
...@@ -7,7 +7,6 @@ exports[`TrialStatusPopover component matches the snapshot 1`] = ` ...@@ -7,7 +7,6 @@ exports[`TrialStatusPopover component matches the snapshot 1`] = `
delay="[object Object]" delay="[object Object]"
placement="rightbottom" placement="rightbottom"
target="target-element-identifier" target="target-element-identifier"
triggers="hover focus"
> >
<gl-sprintf-stub <gl-sprintf-stub
......
...@@ -41,7 +41,6 @@ describe('feature_highlight/feature_highlight_popover', () => { ...@@ -41,7 +41,6 @@ describe('feature_highlight/feature_highlight_popover', () => {
expect(findPopover().props()).toMatchObject({ expect(findPopover().props()).toMatchObject({
target: POPOVER_TARGET_ID, target: POPOVER_TARGET_ID,
cssClasses: ['feature-highlight-popover'], cssClasses: ['feature-highlight-popover'],
triggers: 'hover',
container: 'body', container: 'body',
placement: 'right', placement: 'right',
boundary: 'viewport', boundary: 'viewport',
......
...@@ -41,10 +41,6 @@ describe('HelpPopover', () => { ...@@ -41,10 +41,6 @@ describe('HelpPopover', () => {
expect(findPopover().props().target()).toBe(findQuestionButton().vm.$el); expect(findPopover().props().target()).toBe(findQuestionButton().vm.$el);
}); });
it('triggers popover on hover and focus', () => {
expect(findPopover().props().triggers).toBe('hover focus');
});
it('allows rendering title with HTML tags', () => { it('allows rendering title with HTML tags', () => {
expect(findPopover().find('strong').exists()).toBe(true); expect(findPopover().find('strong').exists()).toBe(true);
}); });
......
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