]> source.dussan.org Git - sonarqube.git/blob
f31097d6911704b01e7049659c73fabf2babbf6d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders main branch 1`] = `
4 <tr>
5   <td>
6     <BranchIcon
7       branch={
8         Object {
9           "isMain": true,
10           "name": "master",
11         }
12       }
13       className="little-spacer-right"
14     />
15     master
16   </td>
17   <td
18     className="thin nowrap text-right"
19   >
20     <BranchStatus
21       branch={
22         Object {
23           "isMain": true,
24           "name": "master",
25         }
26       }
27     />
28   </td>
29   <td
30     className="thin nowrap text-right"
31   >
32     <Tooltip
33       overlay="branches.rename"
34       placement="bottom"
35     >
36       <a
37         className="js-rename link-no-underline"
38         href="#"
39         onClick={[Function]}
40       >
41         <ChangeIcon />
42       </a>
43     </Tooltip>
44   </td>
45 </tr>
46 `;
47
48 exports[`renders short-living branch 1`] = `
49 <tr>
50   <td>
51     <BranchIcon
52       branch={
53         Object {
54           "isMain": false,
55           "mergeBranch": "foo",
56           "name": "feature",
57           "type": "SHORT",
58         }
59       }
60       className="little-spacer-right big-spacer-left"
61     />
62     feature
63   </td>
64   <td
65     className="thin nowrap text-right"
66   >
67     <BranchStatus
68       branch={
69         Object {
70           "isMain": false,
71           "mergeBranch": "foo",
72           "name": "feature",
73           "type": "SHORT",
74         }
75       }
76     />
77   </td>
78   <td
79     className="thin nowrap text-right"
80   >
81     <Tooltip
82       overlay="branches.delete"
83       placement="bottom"
84     >
85       <a
86         className="js-delete link-no-underline"
87         href="#"
88         onClick={[Function]}
89       >
90         <DeleteIcon />
91       </a>
92     </Tooltip>
93   </td>
94 </tr>
95 `;