]> source.dussan.org Git - sonarqube.git/blob
12099c9db00645ba3617ef3f9e05939f3e01b303
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should call close method correctly 1`] = `
4 Array [
5   Array [
6     false,
7   ],
8 ]
9 `;
10
11 exports[`should render disabled sorting options for visualizations 1`] = `
12 <div
13   className="projects-topbar"
14 >
15   <div
16     className="projects-topbar-actions open"
17   >
18     <div
19       className="projects-topbar-actions-inner"
20     >
21       <button
22         className="projects-topbar-button"
23         onClick={[Function]}
24       >
25         close
26       </button>
27       <div
28         className="projects-topbar-items"
29       >
30         <PerspectiveSelect
31           className="projects-topbar-item js-projects-perspective-select"
32           view="visualizations"
33           visualization="coverage"
34         />
35         <Tooltip
36           overlay="projects.sort.disabled"
37           placement="bottom"
38         >
39           <div>
40             <ProjectsSortingSelect
41               className="projects-topbar-item js-projects-sorting-select disabled"
42               view="visualizations"
43             />
44           </div>
45         </Tooltip>
46       </div>
47     </div>
48   </div>
49 </div>
50 `;
51
52 exports[`should render option bar closed 1`] = `
53 <div
54   className="projects-topbar"
55 >
56   <div
57     className="projects-topbar-actions"
58   >
59     <div
60       className="projects-topbar-actions-inner"
61     >
62       <button
63         className="projects-topbar-button"
64         onClick={[Function]}
65       >
66         close
67       </button>
68       <div
69         className="projects-topbar-items"
70       >
71         <PerspectiveSelect
72           className="projects-topbar-item js-projects-perspective-select"
73           view="overall"
74         />
75         <ProjectsSortingSelect
76           className="projects-topbar-item js-projects-sorting-select"
77           view="overall"
78         />
79       </div>
80     </div>
81   </div>
82 </div>
83 `;
84
85 exports[`should render option bar open 1`] = `
86 <div
87   className="projects-topbar"
88 >
89   <div
90     className="projects-topbar-actions open"
91   >
92     <div
93       className="projects-topbar-actions-inner"
94     >
95       <button
96         className="projects-topbar-button"
97         onClick={[Function]}
98       >
99         close
100       </button>
101       <div
102         className="projects-topbar-items"
103       >
104         <PerspectiveSelect
105           className="projects-topbar-item js-projects-perspective-select"
106           view="leak"
107           visualization="risk"
108         />
109         <ProjectsSortingSelect
110           className="projects-topbar-item js-projects-sorting-select"
111           view="leak"
112         />
113       </div>
114     </div>
115   </div>
116 </div>
117 `;