1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly the graph and legends 1`] = `
5 className="project-activity-layout-page-main-inner boxed-group boxed-group-inner"
7 <ProjectActivityGraphsHeader
8 addCustomMetric={[Function]}
14 "name": "Code Smells",
19 metricsTypeFilter={null}
20 updateGraph={[Function]}
26 "date": "2016-10-27T16:33:50+0200",
29 "category": "VERSION",
31 "name": "6.5-SNAPSHOT",
37 "date": "2016-10-27T12:21:15+0200",
42 "date": "2016-10-26T12:17:29+0200",
45 "category": "VERSION",
63 leakPeriodDate="2017-05-16T13:50:02+0200"
69 "date": 2016-10-26T10:17:29.000Z,
73 "date": 2016-10-27T10:21:15.000Z,
77 "date": 2016-10-27T14:33:50.000Z,
81 "metric": "code_smells",
86 removeCustomMetric={[Function]}
92 "x": 2016-10-26T10:17:29.000Z,
96 "x": 2016-10-27T10:21:15.000Z,
100 "x": 2016-10-27T14:33:50.000Z,
104 "name": "code_smells",
105 "translatedName": "Code Smells",
110 updateGraphZoom={[Function]}
111 updateSelectedDate={[Function]}
115 graphStartDate={null}
116 leakPeriodDate="2017-05-16T13:50:02+0200"
124 "x": 2016-10-26T10:17:29.000Z,
128 "x": 2016-10-27T10:21:15.000Z,
132 "x": 2016-10-27T14:33:50.000Z,
136 "name": "code_smells",
137 "translatedName": "Code Smells",
143 updateGraphZoom={[Function]}
148 exports[`should render correctly with filter history on dates 1`] = `
150 "graphEndDate": null,
151 "graphStartDate": "2016-10-27T12:21:15+0200",
157 "x": 2016-10-26T10:17:29.000Z,
161 "x": 2016-10-27T10:21:15.000Z,
165 "x": 2016-10-27T14:33:50.000Z,
169 "name": "code_smells",
170 "translatedName": "Code Smells",
179 "x": 2016-10-26T10:17:29.000Z,
183 "x": 2016-10-27T10:21:15.000Z,
187 "x": 2016-10-27T14:33:50.000Z,
191 "name": "code_smells",
192 "translatedName": "Code Smells",
199 exports[`should show that there is no history data 1`] = `
201 className="project-activity-layout-page-main-inner boxed-group boxed-group-inner"
203 <ProjectActivityGraphsHeader
204 addCustomMetric={[Function]}
209 "key": "code_smells",
210 "name": "Code Smells",
215 metricsTypeFilter={null}
216 updateGraph={[Function]}
219 className="project-activity-graph-container"
222 className="note text-center"
224 component_measures.no_history
229 graphStartDate={null}
230 leakPeriodDate="2017-05-16T13:50:02+0200"
237 "name": "code_smells",
238 "translatedName": "Code Smells",
244 updateGraphZoom={[Function]}
249 exports[`should show that there is no history data 2`] = `
251 className="project-activity-layout-page-main-inner boxed-group boxed-group-inner"
253 <ProjectActivityGraphsHeader
254 addCustomMetric={[Function]}
259 "key": "code_smells",
260 "name": "Code Smells",
265 metricsTypeFilter={null}
271 updateGraph={[Function]}
274 className="project-activity-graph-container"
277 className="note text-center"
279 project_activity.graphs.custom.no_history
284 graphStartDate={null}
285 leakPeriodDate="2017-05-16T13:50:02+0200"
293 "x": 2016-10-26T10:17:29.000Z,
297 "name": "code_smells",
298 "translatedName": "Code Smells",
304 updateGraphZoom={[Function]}