]> source.dussan.org Git - sonarqube.git/blob
b64a5de49641445d9939cac2d044ec73f081a84f
[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     prioritizeSeoTags={false}
9     title="MyProject"
10   />
11   <div
12     className="display-flex-center flex-shrink"
13   >
14     <Breadcrumb
15       component={
16         Object {
17           "breadcrumbs": Array [],
18           "key": "my-project",
19           "name": "MyProject",
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     <withAppStateContext(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           "qualifier": "TRK",
124           "qualityGate": Object {
125             "isDefault": true,
126             "key": "30",
127             "name": "Sonar way",
128           },
129           "qualityProfiles": Array [
130             Object {
131               "deleted": false,
132               "key": "my-qp",
133               "language": "ts",
134               "name": "Sonar way",
135             },
136           ],
137           "tags": Array [],
138         }
139       }
140       currentBranchLike={
141         Object {
142           "analysisDate": "2018-01-01",
143           "excludedFromPurge": true,
144           "isMain": false,
145           "name": "branch-11",
146         }
147       }
148     />
149     <Memo(CurrentBranchLikeMergeInformation)
150       currentBranchLike={
151         Object {
152           "analysisDate": "2018-01-01",
153           "excludedFromPurge": true,
154           "isMain": false,
155           "name": "branch-11",
156         }
157       }
158     />
159   </div>
160 </Fragment>
161 `;