]> source.dussan.org Git - sonarqube.git/blob
7f82cd14330d15e5fb72c4a37094a4825a7fa2e2
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should correctly filter events 1`] = `
4 Array [
5   Object {
6     "className": "VERSION",
7     "date": 2016-10-26T10:17:29.000Z,
8     "name": "6.4",
9   },
10   Object {
11     "className": "VERSION",
12     "date": 2016-10-27T14:33:50.000Z,
13     "name": "6.5-SNAPSHOT",
14   },
15 ]
16 `;
17
18 exports[`should correctly filter events 2`] = `
19 Array [
20   Object {
21     "className": "OTHER",
22     "date": 2016-10-26T10:17:29.000Z,
23     "name": "foo",
24   },
25 ]
26 `;
27
28 exports[`should correctly render a graph 1`] = `
29 <div
30   className="project-activity-graph-container"
31 >
32   <GraphsLegendStatic
33     series={
34       Array [
35         Object {
36           "data": Array [
37             Object {
38               "x": 2016-10-27T14:33:50.000Z,
39               "y": 5,
40             },
41             Object {
42               "x": 2016-10-27T10:21:15.000Z,
43               "y": 16,
44             },
45             Object {
46               "x": 2016-10-26T10:17:29.000Z,
47               "y": 12,
48             },
49           ],
50           "name": "bugs",
51           "translatedName": "metric.bugs.name",
52         },
53       ]
54     }
55   />
56   <div
57     className="project-activity-graph"
58   >
59     <AutoSizer
60       onResize={[Function]}
61     />
62   </div>
63 </div>
64 `;