]> source.dussan.org Git - sonarqube.git/blob
75e622da8f581dd33a02f1ac23870af890f75df3
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display two facets 1`] = `
4 <div>
5   <A11ySkipTarget
6     anchor="measures_filters"
7     label="component_measures.skip_to_filters"
8     weight={10}
9   />
10   <ProjectOverviewFacet
11     onChange={[Function]}
12     selected="duplicated_lines_density"
13     value="project_overview"
14   />
15   <DomainFacet
16     domain={
17       Object {
18         "measures": Array [
19           Object {
20             "leak": "70",
21             "metric": Object {
22               "domain": "Coverage",
23               "id": "1",
24               "key": "lines_to_cover",
25               "name": "Lines to Cover",
26               "type": "INT",
27             },
28             "period": Object {
29               "index": 1,
30               "value": "70",
31             },
32             "value": "431",
33           },
34           Object {
35             "leak": "0.0999999999999943",
36             "metric": Object {
37               "domain": "Coverage",
38               "id": "2",
39               "key": "coverage",
40               "name": "Coverage",
41               "type": "PERCENT",
42             },
43             "period": Object {
44               "index": 1,
45               "value": "0.0999999999999943",
46             },
47             "value": "99.3",
48           },
49         ],
50         "name": "Coverage",
51       }
52     }
53     key="Coverage"
54     onChange={[Function]}
55     onToggle={[Function]}
56     open={false}
57     selected="duplicated_lines_density"
58     showFullMeasures={true}
59   />
60   <DomainFacet
61     domain={
62       Object {
63         "measures": Array [
64           Object {
65             "leak": "0.0",
66             "metric": Object {
67               "domain": "Duplications",
68               "id": "3",
69               "key": "duplicated_lines_density",
70               "name": "Duplicated Lines (%)",
71               "type": "PERCENT",
72             },
73             "period": Object {
74               "index": 1,
75               "value": "0.0",
76             },
77             "value": "3.2",
78           },
79         ],
80         "name": "Duplications",
81       }
82     }
83     key="Duplications"
84     onChange={[Function]}
85     onToggle={[Function]}
86     open={true}
87     selected="duplicated_lines_density"
88     showFullMeasures={true}
89   />
90 </div>
91 `;