]> source.dussan.org Git - sonarqube.git/blob
f966955c2482ca0be4a6ab17ef522bfe5c5d9c00
[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   <HelmetWrapper
9     title="project_activity.page"
10   />
11   <ProjectActivityPageHeader
12     category=""
13     updateQuery={[Function]}
14   />
15   <div
16     className="layout-page project-activity-page"
17   >
18     <div
19       className="layout-page-side-outer project-activity-page-side-outer boxed-group"
20     >
21       <ProjectActivityAnalysesList
22         addCustomEvent={[Function]}
23         addVersion={[Function]}
24         analyses={
25           Array [
26             Object {
27               "date": 2016-10-27T14:33:50.000Z,
28               "events": Array [
29                 Object {
30                   "category": "VERSION",
31                   "key": "E1",
32                   "name": "6.5-SNAPSHOT",
33                 },
34               ],
35               "key": "A1",
36             },
37             Object {
38               "date": 2016-10-27T10:21:15.000Z,
39               "events": Array [],
40               "key": "A2",
41             },
42             Object {
43               "date": 2016-10-26T10:17:29.000Z,
44               "events": Array [
45                 Object {
46                   "category": "VERSION",
47                   "key": "E2",
48                   "name": "6.4",
49                 },
50                 Object {
51                   "category": "OTHER",
52                   "key": "E3",
53                   "name": "foo",
54                 },
55               ],
56               "key": "A3",
57             },
58           ]
59         }
60         analysesLoading={false}
61         canAdmin={false}
62         changeEvent={[Function]}
63         className="boxed-group-inner"
64         deleteAnalysis={[Function]}
65         deleteEvent={[Function]}
66         loading={false}
67         query={
68           Object {
69             "category": "",
70             "graph": "overview",
71             "project": "org.sonarsource.sonarqube:sonarqube",
72           }
73         }
74         updateQuery={[Function]}
75       />
76     </div>
77     <div
78       className="project-activity-layout-page-main"
79     >
80       <ProjectActivityGraphs
81         analyses={
82           Array [
83             Object {
84               "date": 2016-10-27T14:33:50.000Z,
85               "events": Array [
86                 Object {
87                   "category": "VERSION",
88                   "key": "E1",
89                   "name": "6.5-SNAPSHOT",
90                 },
91               ],
92               "key": "A1",
93             },
94             Object {
95               "date": 2016-10-27T10:21:15.000Z,
96               "events": Array [],
97               "key": "A2",
98             },
99             Object {
100               "date": 2016-10-26T10:17:29.000Z,
101               "events": Array [
102                 Object {
103                   "category": "VERSION",
104                   "key": "E2",
105                   "name": "6.4",
106                 },
107                 Object {
108                   "category": "OTHER",
109                   "key": "E3",
110                   "name": "foo",
111                 },
112               ],
113               "key": "A3",
114             },
115           ]
116         }
117         leakPeriodDate={2017-05-16T11:50:02.000Z}
118         loading={false}
119         measuresHistory={
120           Array [
121             Object {
122               "history": Array [
123                 Object {
124                   "date": 2016-03-04T09:40:12.000Z,
125                   "value": "1749",
126                 },
127                 Object {
128                   "date": 2016-03-04T17:40:16.000Z,
129                   "value": "2286",
130                 },
131               ],
132               "metric": "code_smells",
133             },
134           ]
135         }
136         metrics={
137           Array [
138             Object {
139               "key": "code_smells",
140               "name": "Code Smells",
141               "type": "INT",
142             },
143           ]
144         }
145         metricsType="INT"
146         query={
147           Object {
148             "category": "",
149             "graph": "overview",
150             "project": "org.sonarsource.sonarqube:sonarqube",
151           }
152         }
153         updateQuery={[Function]}
154       />
155     </div>
156   </div>
157 </div>
158 `;