]> source.dussan.org Git - sonarqube.git/blob
9639b62f57f3e3c54eea271f2ca9aed77caed84c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders meta for long-living branch 1`] = `
4 <div
5   className="navbar-context-meta"
6 >
7   <ul
8     className="list-inline"
9   >
10     <li>
11       <DateTimeFormatter
12         date="2017-01-02T00:00:00.000Z"
13       />
14     </li>
15     <li>
16       Version
17       0.0.1
18     </li>
19   </ul>
20 </div>
21 `;
22
23 exports[`renders status of short-living branch 1`] = `
24 <div
25   className="navbar-context-meta"
26 >
27   <ul
28     className="list-inline"
29   >
30     <li>
31       <DateTimeFormatter
32         date="2017-01-02T00:00:00.000Z"
33       />
34     </li>
35   </ul>
36   <div
37     className="navbar-context-meta-branch"
38   >
39     <BranchStatus
40       branch={
41         Object {
42           "isMain": false,
43           "mergeBranch": "master",
44           "name": "feature",
45           "status": Object {
46             "bugs": 0,
47             "codeSmells": 2,
48             "vulnerabilities": 3,
49           },
50           "type": "SHORT",
51         }
52       }
53     />
54   </div>
55 </div>
56 `;