]> source.dussan.org Git - sonarqube.git/blob
e230965909e4bd730059dfdc31c3d3f59a39b318
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <Helmet
6     defer={true}
7     encodeSpecialCharacters={true}
8     title="MyProject"
9   />
10   <header
11     className="display-flex-center flex-shrink"
12   >
13     <ComponentBreadcrumb
14       component={
15         Object {
16           "breadcrumbs": Array [],
17           "key": "my-project",
18           "name": "MyProject",
19           "organization": "foo",
20           "qualifier": "TRK",
21           "qualityGate": Object {
22             "isDefault": true,
23             "key": "30",
24             "name": "Sonar way",
25           },
26           "qualityProfiles": Array [
27             Object {
28               "deleted": false,
29               "key": "my-qp",
30               "language": "ts",
31               "name": "Sonar way",
32             },
33           ],
34           "tags": Array [],
35         }
36       }
37       currentBranchLike={
38         Object {
39           "analysisDate": "2018-01-01",
40           "excludedFromPurge": true,
41           "isMain": false,
42           "name": "branch-11",
43         }
44       }
45     />
46     <Connect(withAppState(Component))
47       branchLikes={
48         Array [
49           Object {
50             "analysisDate": "2018-01-01",
51             "excludedFromPurge": true,
52             "isMain": false,
53             "name": "branch-11",
54           },
55           Object {
56             "analysisDate": "2018-01-01",
57             "excludedFromPurge": true,
58             "isMain": false,
59             "name": "branch-1",
60           },
61           Object {
62             "analysisDate": "2018-01-01",
63             "excludedFromPurge": true,
64             "isMain": true,
65             "name": "master",
66           },
67           Object {
68             "analysisDate": "2018-01-01",
69             "base": "master",
70             "branch": "feature/foo/bar",
71             "key": "1",
72             "target": "master",
73             "title": "PR-1",
74           },
75           Object {
76             "analysisDate": "2018-01-01",
77             "excludedFromPurge": true,
78             "isMain": false,
79             "name": "branch-12",
80           },
81           Object {
82             "analysisDate": "2018-01-01",
83             "base": "master",
84             "branch": "feature/foo/bar",
85             "key": "2",
86             "target": "master",
87             "title": "PR-2",
88           },
89           Object {
90             "analysisDate": "2018-01-01",
91             "excludedFromPurge": true,
92             "isMain": false,
93             "name": "branch-3",
94           },
95           Object {
96             "analysisDate": "2018-01-01",
97             "excludedFromPurge": true,
98             "isMain": false,
99             "name": "branch-2",
100           },
101           Object {
102             "analysisDate": "2018-01-01",
103             "base": "master",
104             "branch": "feature/foo/bar",
105             "isOrphan": true,
106             "key": "2",
107             "target": "llb-100",
108             "title": "PR-2",
109           },
110         ]
111       }
112       component={
113         Object {
114           "breadcrumbs": Array [],
115           "key": "my-project",
116           "name": "MyProject",
117           "organization": "foo",
118           "qualifier": "TRK",
119           "qualityGate": Object {
120             "isDefault": true,
121             "key": "30",
122             "name": "Sonar way",
123           },
124           "qualityProfiles": Array [
125             Object {
126               "deleted": false,
127               "key": "my-qp",
128               "language": "ts",
129               "name": "Sonar way",
130             },
131           ],
132           "tags": Array [],
133         }
134       }
135       currentBranchLike={
136         Object {
137           "analysisDate": "2018-01-01",
138           "excludedFromPurge": true,
139           "isMain": false,
140           "name": "branch-11",
141         }
142       }
143     />
144     <Memo(CurrentBranchLikeMergeInformation)
145       currentBranchLike={
146         Object {
147           "analysisDate": "2018-01-01",
148           "excludedFromPurge": true,
149           "isMain": false,
150           "name": "branch-11",
151         }
152       }
153     />
154   </header>
155 </Fragment>
156 `;