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

file_row_header_spec.js.snap « __snapshots__ « components « vue_shared « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca9d44888700d3bac569ee954704d0c8d6bf48f0 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`File row header component adds multiple ellipsises after 40 characters 1`] = `
<div
  class="file-row-header bg-white sticky-top p-2 js-file-row-header"
  title="app/assets/javascripts/merge_requests/widget/diffs/notes"
>
  <gl-truncate-stub
    class="bold"
    position="middle"
    text="app/assets/javascripts/merge_requests/widget/diffs/notes"
  />
</div>
`;

exports[`File row header component renders file path 1`] = `
<div
  class="file-row-header bg-white sticky-top p-2 js-file-row-header"
  title="app/assets"
>
  <gl-truncate-stub
    class="bold"
    position="middle"
    text="app/assets"
  />
</div>
`;

exports[`File row header component trucates path after 40 characters 1`] = `
<div
  class="file-row-header bg-white sticky-top p-2 js-file-row-header"
  title="app/assets/javascripts/merge_requests"
>
  <gl-truncate-stub
    class="bold"
    position="middle"
    text="app/assets/javascripts/merge_requests"
  />
</div>
`;