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