]> source.dussan.org Git - sonarqube.git/blob
635a9b815ff6e099b2e7cfcf4d56a51c4045f20e
[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         {
17           "breadcrumbs": [],
18           "key": "my-project",
19           "name": "MyProject",
20           "qualifier": "TRK",
21           "qualityGate": {
22             "isDefault": true,
23             "key": "30",
24             "name": "Sonar way",
25           },
26           "qualityProfiles": [
27             {
28               "deleted": false,
29               "key": "my-qp",
30               "language": "ts",
31               "name": "Sonar way",
32             },
33           ],
34           "tags": [],
35         }
36       }
37       currentBranchLike={
38         {
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     <withAvailableFeaturesContext(Component)
53       branchLikes={
54         [
55           {
56             "analysisDate": "2018-01-01",
57             "excludedFromPurge": true,
58             "isMain": false,
59             "name": "branch-11",
60           },
61           {
62             "analysisDate": "2018-01-01",
63             "excludedFromPurge": true,
64             "isMain": false,
65             "name": "branch-1",
66           },
67           {
68             "analysisDate": "2018-01-01",
69             "excludedFromPurge": true,
70             "isMain": true,
71             "name": "master",
72           },
73           {
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           {
82             "analysisDate": "2018-01-01",
83             "excludedFromPurge": true,
84             "isMain": false,
85             "name": "branch-12",
86           },
87           {
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           {
96             "analysisDate": "2018-01-01",
97             "excludedFromPurge": true,
98             "isMain": false,
99             "name": "branch-3",
100           },
101           {
102             "analysisDate": "2018-01-01",
103             "excludedFromPurge": true,
104             "isMain": false,
105             "name": "branch-2",
106           },
107           {
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         {
120           "breadcrumbs": [],
121           "key": "my-project",
122           "name": "MyProject",
123           "qualifier": "TRK",
124           "qualityGate": {
125             "isDefault": true,
126             "key": "30",
127             "name": "Sonar way",
128           },
129           "qualityProfiles": [
130             {
131               "deleted": false,
132               "key": "my-qp",
133               "language": "ts",
134               "name": "Sonar way",
135             },
136           ],
137           "tags": [],
138         }
139       }
140       currentBranchLike={
141         {
142           "analysisDate": "2018-01-01",
143           "excludedFromPurge": true,
144           "isMain": false,
145           "name": "branch-11",
146         }
147       }
148     />
149     <Memo(CurrentBranchLikeMergeInformation)
150       currentBranchLike={
151         {
152           "analysisDate": "2018-01-01",
153           "excludedFromPurge": true,
154           "isMain": false,
155           "name": "branch-11",
156         }
157       }
158     />
159   </div>
160 </Fragment>
161 `;