]> source.dussan.org Git - sonarqube.git/blob
349913a66e3dbd0241e109215c4bada0cdd4928f
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders sorted list of branches 1`] = `
4 <div
5   className="page page-limited"
6 >
7   <header
8     className="page-header"
9   >
10     <h1
11       className="page-title"
12     >
13       project_branches.page
14     </h1>
15     <LongBranchesPattern
16       project="foo"
17     />
18     <p
19       className="page-description"
20     >
21       project_branches.page.description
22     </p>
23     <p
24       className="page-description"
25     >
26       <FormattedMessage
27         defaultMessage="project_branches.page.life_time"
28         id="project_branches.page.life_time"
29         values={
30           Object {
31             "days": "100",
32             "settings": <Link
33               onlyActiveOnIndex={false}
34               style={Object {}}
35               to="/admin/settings"
36           >
37               settings.page
38           </Link>,
39           }
40         }
41       />
42     </p>
43   </header>
44   <table
45     className="data zebra zebra-hover"
46   >
47     <thead>
48       <tr>
49         <th>
50           branch
51         </th>
52         <th
53           className="thin nowrap text-right"
54         >
55           status
56         </th>
57         <th
58           className="thin nowrap text-right"
59         >
60           project_history.last_snapshot
61         </th>
62         <th
63           className="thin nowrap text-right"
64         >
65           actions
66         </th>
67       </tr>
68     </thead>
69     <tbody>
70       <BranchRow
71         branch={
72           Object {
73             "isMain": true,
74             "name": "master",
75           }
76         }
77         component="foo"
78         onChange={[Function]}
79       />
80       <BranchRow
81         branch={
82           Object {
83             "isMain": false,
84             "mergeBranch": "master",
85             "name": "branch-1.0",
86             "type": "SHORT",
87           }
88         }
89         component="foo"
90         onChange={[Function]}
91       />
92       <BranchRow
93         branch={
94           Object {
95             "isMain": false,
96             "name": "branch-1.0",
97             "type": "LONG",
98           }
99         }
100         component="foo"
101         onChange={[Function]}
102       />
103     </tbody>
104   </table>
105 </div>
106 `;