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