2020-03-13 15:44:24 +05:30
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Code navigation popover component renders popover 1`] = `
|
|
|
|
<div
|
|
|
|
class="popover code-navigation-popover popover-font-size-normal gl-popover bs-popover-bottom show"
|
|
|
|
style="left: 0px; top: 0px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="arrow"
|
|
|
|
style="left: 0px;"
|
|
|
|
/>
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
<gl-tabs-stub
|
|
|
|
contentclass="gl-py-0"
|
2021-01-29 00:20:46 +05:30
|
|
|
navclass="gl-hidden"
|
2020-07-28 23:09:34 +05:30
|
|
|
theme="indigo"
|
2020-03-13 15:44:24 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
<gl-tab-stub
|
|
|
|
title="Definition"
|
2021-02-22 17:27:13 +05:30
|
|
|
titlelinkclass=""
|
2020-03-13 15:44:24 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
<div
|
|
|
|
class="overflow-auto code-navigation-popover-container"
|
2020-06-23 00:09:42 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
<div
|
|
|
|
class=""
|
2020-06-23 00:09:42 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
<pre
|
|
|
|
class="border-0 bg-transparent m-0 code highlight text-wrap"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="line"
|
|
|
|
lang="javascript"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="k"
|
|
|
|
>
|
|
|
|
function
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
main() {
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="line"
|
|
|
|
lang="javascript"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
class="popover-body border-top"
|
2020-06-23 00:09:42 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
<gl-button-stub
|
2021-01-03 14:25:43 +05:30
|
|
|
buttontextclasses=""
|
2020-10-24 23:57:45 +05:30
|
|
|
category="primary"
|
2020-07-28 23:09:34 +05:30
|
|
|
class="w-100"
|
|
|
|
data-testid="go-to-definition-btn"
|
|
|
|
href="http://gitlab.com/test.js"
|
|
|
|
icon=""
|
|
|
|
size="medium"
|
|
|
|
target="_blank"
|
|
|
|
variant="default"
|
|
|
|
>
|
|
|
|
|
|
|
|
Go to definition
|
|
|
|
|
|
|
|
</gl-button-stub>
|
|
|
|
</div>
|
|
|
|
</gl-tab-stub>
|
|
|
|
|
|
|
|
<gl-tab-stub
|
|
|
|
class="py-2"
|
|
|
|
data-testid="references-tab"
|
2021-02-22 17:27:13 +05:30
|
|
|
titlelinkclass=""
|
2020-03-13 15:44:24 +05:30
|
|
|
>
|
2020-07-28 23:09:34 +05:30
|
|
|
|
|
|
|
<p
|
|
|
|
class="gl-my-4 gl-px-4"
|
|
|
|
>
|
|
|
|
|
|
|
|
No references found
|
2020-03-13 15:44:24 +05:30
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
</p>
|
|
|
|
</gl-tab-stub>
|
|
|
|
</gl-tabs-stub>
|
2020-03-13 15:44:24 +05:30
|
|
|
</div>
|
|
|
|
`;
|