]> source.dussan.org Git - sonarqube.git/blob
979a1948c74c4e25c63c67279c194f93d3c1deb2
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="page page-limited"
6   id="project-branch-like"
7 >
8   <header
9     className="page-header"
10   >
11     <h1>
12       project_branch_pull_request.page
13     </h1>
14     <withAppStateContext(LifetimeInformation) />
15   </header>
16   <BranchLikeTabs
17     branchLikes={
18       [
19         {
20           "analysisDate": "2018-01-01",
21           "excludedFromPurge": true,
22           "isMain": false,
23           "name": "branch-11",
24         },
25         {
26           "analysisDate": "2018-01-01",
27           "excludedFromPurge": true,
28           "isMain": false,
29           "name": "branch-1",
30         },
31         {
32           "analysisDate": "2018-01-01",
33           "excludedFromPurge": true,
34           "isMain": true,
35           "name": "master",
36         },
37         {
38           "analysisDate": "2018-01-01",
39           "base": "master",
40           "branch": "feature/foo/bar",
41           "key": "1",
42           "target": "master",
43           "title": "PR-1",
44         },
45         {
46           "analysisDate": "2018-01-01",
47           "excludedFromPurge": true,
48           "isMain": false,
49           "name": "branch-12",
50         },
51         {
52           "analysisDate": "2018-01-01",
53           "base": "master",
54           "branch": "feature/foo/bar",
55           "key": "2",
56           "target": "master",
57           "title": "PR-2",
58         },
59         {
60           "analysisDate": "2018-01-01",
61           "excludedFromPurge": true,
62           "isMain": false,
63           "name": "branch-3",
64         },
65         {
66           "analysisDate": "2018-01-01",
67           "excludedFromPurge": true,
68           "isMain": false,
69           "name": "branch-2",
70         },
71         {
72           "analysisDate": "2018-01-01",
73           "base": "master",
74           "branch": "feature/foo/bar",
75           "isOrphan": true,
76           "key": "2",
77           "target": "llb-100",
78           "title": "PR-2",
79         },
80       ]
81     }
82     component={
83       {
84         "breadcrumbs": [],
85         "key": "my-project",
86         "name": "MyProject",
87         "qualifier": "TRK",
88         "qualityGate": {
89           "isDefault": true,
90           "key": "30",
91           "name": "Sonar way",
92         },
93         "qualityProfiles": [
94           {
95             "deleted": false,
96             "key": "my-qp",
97             "language": "ts",
98             "name": "Sonar way",
99           },
100         ],
101         "tags": [],
102       }
103     }
104     onBranchesChange={[MockFunction]}
105   />
106 </div>
107 `;