summaryrefslogtreecommitdiff
path: root/spec/frontend/branches/components/__snapshots__/divergence_graph_spec.js.snap
blob: c9948db95f816ce2343a839df0da1d60e0a6f2e1 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Branch divergence graph component renders ahead and behind count 1`] = `
<div
  class="divergence-graph px-2 d-none d-md-block"
  title="10 commits behind master, 10 commits ahead"
>
  <graph-bar-stub
    count="10"
    maxcommits="100"
    position="left"
  />
   
  <div
    class="graph-separator pull-left mt-1"
  />
   
  <graph-bar-stub
    count="10"
    maxcommits="100"
    position="right"
  />
</div>
`;

exports[`Branch divergence graph component renders distance count 1`] = `
<div
  class="divergence-graph px-2 d-none d-md-block"
  title="More than 900 commits different with master"
>
  <graph-bar-stub
    count="900"
    maxcommits="100"
    position="full"
  />
</div>
`;