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