]> source.dussan.org Git - sonarqube.git/blob
1458c61e3d42a90d87697084a072bc39e630ebb9
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render additional categories component correctly 1`] = `
4 <withRouter(Languages)
5   categories={[]}
6   component={
7     {
8       "breadcrumbs": [],
9       "key": "my-project",
10       "name": "MyProject",
11       "qualifier": "TRK",
12       "qualityGate": {
13         "isDefault": true,
14         "key": "30",
15         "name": "Sonar way",
16       },
17       "qualityProfiles": [
18         {
19           "deleted": false,
20           "key": "my-qp",
21           "language": "ts",
22           "name": "Sonar way",
23         },
24       ],
25       "tags": [],
26     }
27   }
28   definitions={[]}
29   selectedCategory="TEST"
30 />
31 `;
32
33 exports[`should render additional categories component correctly 2`] = `<NewCodePeriod />`;
34
35 exports[`should render additional categories component correctly 3`] = `
36 <AnalysisScope
37   categories={[]}
38   component={
39     {
40       "breadcrumbs": [],
41       "key": "my-project",
42       "name": "MyProject",
43       "qualifier": "TRK",
44       "qualityGate": {
45         "isDefault": true,
46         "key": "30",
47         "name": "Sonar way",
48       },
49       "qualityProfiles": [
50         {
51           "deleted": false,
52           "key": "my-qp",
53           "language": "ts",
54           "name": "Sonar way",
55         },
56       ],
57       "tags": [],
58     }
59   }
60   definitions={[]}
61   selectedCategory="TEST"
62 />
63 `;
64
65 exports[`should render additional categories component correctly 4`] = `
66 <withRouter(withAvailableFeaturesContext(AlmIntegration))
67   categories={[]}
68   component={
69     {
70       "breadcrumbs": [],
71       "key": "my-project",
72       "name": "MyProject",
73       "qualifier": "TRK",
74       "qualityGate": {
75         "isDefault": true,
76         "key": "30",
77         "name": "Sonar way",
78       },
79       "qualityProfiles": [
80         {
81           "deleted": false,
82           "key": "my-qp",
83           "language": "ts",
84           "name": "Sonar way",
85         },
86       ],
87       "tags": [],
88     }
89   }
90   definitions={[]}
91   selectedCategory="TEST"
92 />
93 `;
94
95 exports[`should render additional categories component correctly 5`] = `
96 <withCurrentUserContext(PRDecorationBinding)
97   component={
98     {
99       "breadcrumbs": [],
100       "key": "my-project",
101       "name": "MyProject",
102       "qualifier": "TRK",
103       "qualityGate": {
104         "isDefault": true,
105         "key": "30",
106         "name": "Sonar way",
107       },
108       "qualityProfiles": [
109         {
110           "deleted": false,
111           "key": "my-qp",
112           "language": "ts",
113           "name": "Sonar way",
114         },
115       ],
116       "tags": [],
117     }
118   }
119 />
120 `;
121
122 exports[`should render additional categories component correctly 6`] = `
123 <withAvailableFeaturesContext(Authentication)
124   categories={[]}
125   component={
126     {
127       "breadcrumbs": [],
128       "key": "my-project",
129       "name": "MyProject",
130       "qualifier": "TRK",
131       "qualityGate": {
132         "isDefault": true,
133         "key": "30",
134         "name": "Sonar way",
135       },
136       "qualityProfiles": [
137         {
138           "deleted": false,
139           "key": "my-qp",
140           "language": "ts",
141           "name": "Sonar way",
142         },
143       ],
144       "tags": [],
145     }
146   }
147   definitions={[]}
148   selectedCategory="TEST"
149 />
150 `;