]> source.dussan.org Git - sonarqube.git/blob
bf77fa89ed046e08b7790770cb5d13c11762428e
[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     <Favorite
47       className="spacer-left"
48       component="my-project"
49       favorite={false}
50       qualifier="TRK"
51     />
52     <Connect(withAppState(Component))
53       branchLikes={
54         Array [
55           Object {
56             "analysisDate": "2018-01-01",
57             "excludedFromPurge": true,
58             "isMain": false,
59             "name": "branch-11",
60           },
61           Object {
62             "analysisDate": "2018-01-01",
63             "excludedFromPurge": true,
64             "isMain": false,
65             "name": "branch-1",
66           },
67           Object {
68             "analysisDate": "2018-01-01",
69             "excludedFromPurge": true,
70             "isMain": true,
71             "name": "master",
72           },
73           Object {
74             "analysisDate": "2018-01-01",
75             "base": "master",
76             "branch": "feature/foo/bar",
77             "key": "1",
78             "target": "master",
79             "title": "PR-1",
80           },
81           Object {
82             "analysisDate": "2018-01-01",
83             "excludedFromPurge": true,
84             "isMain": false,
85             "name": "branch-12",
86           },
87           Object {
88             "analysisDate": "2018-01-01",
89             "base": "master",
90             "branch": "feature/foo/bar",
91             "key": "2",
92             "target": "master",
93             "title": "PR-2",
94           },
95           Object {
96             "analysisDate": "2018-01-01",
97             "excludedFromPurge": true,
98             "isMain": false,
99             "name": "branch-3",
100           },
101           Object {
102             "analysisDate": "2018-01-01",
103             "excludedFromPurge": true,
104             "isMain": false,
105             "name": "branch-2",
106           },
107           Object {
108             "analysisDate": "2018-01-01",
109             "base": "master",
110             "branch": "feature/foo/bar",
111             "isOrphan": true,
112             "key": "2",
113             "target": "llb-100",
114             "title": "PR-2",
115           },
116         ]
117       }
118       component={
119         Object {
120           "breadcrumbs": Array [],
121           "key": "my-project",
122           "name": "MyProject",
123           "organization": "foo",
124           "qualifier": "TRK",
125           "qualityGate": Object {
126             "isDefault": true,
127             "key": "30",
128             "name": "Sonar way",
129           },
130           "qualityProfiles": Array [
131             Object {
132               "deleted": false,
133               "key": "my-qp",
134               "language": "ts",
135               "name": "Sonar way",
136             },
137           ],
138           "tags": Array [],
139         }
140       }
141       currentBranchLike={
142         Object {
143           "analysisDate": "2018-01-01",
144           "excludedFromPurge": true,
145           "isMain": false,
146           "name": "branch-11",
147         }
148       }
149     />
150     <Memo(CurrentBranchLikeMergeInformation)
151       currentBranchLike={
152         Object {
153           "analysisDate": "2018-01-01",
154           "excludedFromPurge": true,
155           "isMain": false,
156           "name": "branch-11",
157         }
158       }
159     />
160   </header>
161 </Fragment>
162 `;