]> source.dussan.org Git - sonarqube.git/blob
27471bc95a8537bb378d7492e79d574748d17656
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly the graph and legends 1`] = `
4 <div
5   className="project-activity-layout-page-main-inner boxed-group boxed-group-inner"
6 >
7   <ProjectActivityGraphsHeader
8     graph="overview"
9     updateQuery={[Function]}
10   />
11   <StaticGraphs
12     analyses={
13       Array [
14         Object {
15           "date": "2016-10-27T16:33:50+0200",
16           "events": Array [
17             Object {
18               "category": "VERSION",
19               "key": "E1",
20               "name": "6.5-SNAPSHOT",
21             },
22           ],
23           "key": "A1",
24         },
25         Object {
26           "date": "2016-10-27T12:21:15+0200",
27           "events": Array [],
28           "key": "A2",
29         },
30         Object {
31           "date": "2016-10-26T12:17:29+0200",
32           "events": Array [
33             Object {
34               "category": "VERSION",
35               "key": "E2",
36               "name": "6.4",
37             },
38             Object {
39               "category": "OTHER",
40               "key": "E3",
41               "name": "foo",
42             },
43           ],
44           "key": "A3",
45         },
46       ]
47     }
48     eventFilter=""
49     leakPeriodDate="2017-05-16T13:50:02+0200"
50     loading={false}
51     measuresHistory={
52       Array [
53         Object {
54           "history": Array [
55             Object {
56               "date": 2016-10-26T10:17:29.000Z,
57               "value": "2286",
58             },
59             Object {
60               "date": 2016-10-27T10:21:15.000Z,
61               "value": "1749",
62             },
63             Object {
64               "date": 2016-10-27T14:33:50.000Z,
65               "value": "500",
66             },
67           ],
68           "metric": "code_smells",
69         },
70       ]
71     }
72     metricsType="INT"
73     project="org.sonarsource.sonarqube:sonarqube"
74     seriesOrder={
75       Array [
76         "bugs",
77         "code_smells",
78         "vulnerabilities",
79       ]
80     }
81     showAreas={false}
82   />
83 </div>
84 `;