]> source.dussan.org Git - sonarqube.git/blob
7d3b5667d2bdaf6f0a0e35307f2cf32474221310
[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(Connect(withAppState(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 <Connect(Connect(withCurrentUser(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 `;