Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils_spec.js.snap « __snapshots__ « gfm_autocomplete « components « vue_shared « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d0fa2086fdc5ed4c124d50d29e1892db2989240e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`gfm_autocomplete/utils issues config shows the iid and title in the menu item within a project context 1`] = `"<small>123456</small> Project context issue title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils issues config shows the reference and title in the menu item within a group context 1`] = `"<small>gitlab#987654</small> Group context issue title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils labels config shows the title in the menu item 1`] = `
"
        <span class=\\"dropdown-label-box\\" style=\\"background: #123456;\\"></span>
        bug &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"
`;

exports[`gfm_autocomplete/utils members config shows an avatar character, name, parent name, and count in the menu item for a group 1`] = `
"
        <div class=\\"gl-display-flex gl-align-items-center\\">
          <div class=\\"gl-avatar gl-avatar-s24 gl-flex-shrink-0 gl-rounded-small
        gl-display-flex gl-align-items-center gl-justify-content-center\\" aria-hidden=\\"true\\">
            G</div>
          <div class=\\"gl-font-sm gl-line-height-normal gl-ml-3\\">
            <div>1-1s &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt; (2)</div>
            <div class=\\"gl-text-gray-700\\">GitLab Support Team</div>
          </div>
          
        </div>
      "
`;

exports[`gfm_autocomplete/utils members config shows the avatar, name and username in the menu item for a user 1`] = `
"
        <div class=\\"gl-display-flex gl-align-items-center\\">
          <img class=\\"gl-avatar gl-avatar-s24 gl-flex-shrink-0 gl-avatar-circle\\" src=\\"/uploads/-/system/user/avatar/123456/avatar.png\\" alt=\\"\\" />
          <div class=\\"gl-font-sm gl-line-height-normal gl-ml-3\\">
            <div>My Name &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;</div>
            <div class=\\"gl-text-gray-700\\">@myusername</div>
          </div>
          
        </div>
      "
`;

exports[`gfm_autocomplete/utils merge requests config shows the iid and title in the menu item within a project context 1`] = `"<small>123456</small> Project context merge request title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils merge requests config shows the reference and title in the menu item within a group context 1`] = `"<small>gitlab!456789</small> Group context merge request title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils milestones config shows the title in the menu item 1`] = `"13.2 &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;

exports[`gfm_autocomplete/utils snippets config shows the id and title in the menu item 1`] = `"<small>123456</small> Snippet title &lt;script&gt;alert(&#39;hi&#39;)&lt;/script&gt;"`;