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