]> source.dussan.org Git - sonarqube.git/blob
3f89e7becc18d6b79191bc8dc4b3718b8d381cfd
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="page page-limited"
6   id="project-activity"
7 >
8   <Suggestions
9     suggestions="project_activity"
10   />
11   <Helmet
12     defer={false}
13     encodeSpecialCharacters={true}
14     prioritizeSeoTags={false}
15     title="project_activity.page"
16   />
17   <A11ySkipTarget
18     anchor="activity_main"
19   />
20   <ProjectActivityPageFilters
21     category=""
22     project={
23       Object {
24         "key": "foo",
25         "leakPeriodDate": "2017-05-16T13:50:02+0200",
26         "qualifier": "TRK",
27       }
28     }
29     updateQuery={[Function]}
30   />
31   <div
32     className="layout-page project-activity-page"
33   >
34     <div
35       className="layout-page-side-outer project-activity-page-side-outer boxed-group"
36     >
37       <ProjectActivityAnalysesList
38         addCustomEvent={[MockFunction]}
39         addVersion={[MockFunction]}
40         analyses={
41           Array [
42             Object {
43               "date": 2016-10-27T14:33:50.000Z,
44               "events": Array [
45                 Object {
46                   "category": "VERSION",
47                   "key": "E1",
48                   "name": "6.5-SNAPSHOT",
49                 },
50               ],
51               "key": "A1",
52             },
53             Object {
54               "date": 2016-10-27T10:21:15.000Z,
55               "events": Array [],
56               "key": "A2",
57             },
58             Object {
59               "date": 2016-10-26T10:17:29.000Z,
60               "events": Array [
61                 Object {
62                   "category": "VERSION",
63                   "key": "E2",
64                   "name": "6.4",
65                 },
66                 Object {
67                   "category": "OTHER",
68                   "key": "E3",
69                   "name": "foo",
70                 },
71               ],
72               "key": "A3",
73             },
74           ]
75         }
76         analysesLoading={false}
77         canAdmin={false}
78         canDeleteAnalyses={false}
79         changeEvent={[MockFunction]}
80         deleteAnalysis={[MockFunction]}
81         deleteEvent={[MockFunction]}
82         initializing={false}
83         leakPeriodDate={2017-05-16T11:50:02.000Z}
84         project={
85           Object {
86             "key": "foo",
87             "leakPeriodDate": "2017-05-16T13:50:02+0200",
88             "qualifier": "TRK",
89           }
90         }
91         query={
92           Object {
93             "category": "",
94             "customMetrics": Array [],
95             "graph": "issues",
96             "project": "org.sonarsource.sonarqube:sonarqube",
97           }
98         }
99         updateQuery={[Function]}
100       />
101     </div>
102     <div
103       className="project-activity-layout-page-main"
104     >
105       <ProjectActivityGraphs
106         analyses={
107           Array [
108             Object {
109               "date": 2016-10-27T14:33:50.000Z,
110               "events": Array [
111                 Object {
112                   "category": "VERSION",
113                   "key": "E1",
114                   "name": "6.5-SNAPSHOT",
115                 },
116               ],
117               "key": "A1",
118             },
119             Object {
120               "date": 2016-10-27T10:21:15.000Z,
121               "events": Array [],
122               "key": "A2",
123             },
124             Object {
125               "date": 2016-10-26T10:17:29.000Z,
126               "events": Array [
127                 Object {
128                   "category": "VERSION",
129                   "key": "E2",
130                   "name": "6.4",
131                 },
132                 Object {
133                   "category": "OTHER",
134                   "key": "E3",
135                   "name": "foo",
136                 },
137               ],
138               "key": "A3",
139             },
140           ]
141         }
142         leakPeriodDate={2017-05-16T11:50:02.000Z}
143         loading={false}
144         measuresHistory={
145           Array [
146             Object {
147               "history": Array [
148                 Object {
149                   "date": 2016-03-04T09:40:12.000Z,
150                   "value": "1749",
151                 },
152                 Object {
153                   "date": 2016-03-04T17:40:16.000Z,
154                   "value": "2286",
155                 },
156               ],
157               "metric": "code_smells",
158             },
159           ]
160         }
161         metrics={
162           Array [
163             Object {
164               "id": "1",
165               "key": "code_smells",
166               "name": "Code Smells",
167               "type": "INT",
168             },
169           ]
170         }
171         project="foo"
172         query={
173           Object {
174             "category": "",
175             "customMetrics": Array [],
176             "graph": "issues",
177             "project": "org.sonarsource.sonarqube:sonarqube",
178           }
179         }
180         updateQuery={[Function]}
181       />
182     </div>
183   </div>
184 </div>
185 `;