]> source.dussan.org Git - sonarqube.git/blob
5b5ca60dce644decb539f15e0bf8e128152d23e6
[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     <a
19       className="projects-topbar-button button-icon"
20       href="#"
21       onClick={[Function]}
22     >
23       <CloseIcon />
24     </a>
25     <div
26       className="projects-topbar-actions-inner"
27     >
28       <PerspectiveSelect
29         className="projects-topbar-item js-projects-perspective-select"
30         view="visualizations"
31         visualization="coverage"
32       />
33       <Tooltip
34         overlay="projects.sort.disabled"
35         placement="bottom"
36       >
37         <div>
38           <ProjectsSortingSelect
39             className="projects-topbar-item js-projects-sorting-select disabled"
40             view="visualizations"
41           />
42         </div>
43       </Tooltip>
44     </div>
45   </div>
46 </div>
47 `;
48
49 exports[`should render option bar closed 1`] = `
50 <div
51   className="projects-topbar"
52 >
53   <div
54     className="projects-topbar-actions"
55   >
56     <a
57       className="projects-topbar-button button-icon"
58       href="#"
59       onClick={[Function]}
60     >
61       <CloseIcon />
62     </a>
63     <div
64       className="projects-topbar-actions-inner"
65     >
66       <PerspectiveSelect
67         className="projects-topbar-item js-projects-perspective-select"
68         view="overall"
69       />
70       <ProjectsSortingSelect
71         className="projects-topbar-item js-projects-sorting-select"
72         view="overall"
73       />
74     </div>
75   </div>
76 </div>
77 `;
78
79 exports[`should render option bar open 1`] = `
80 <div
81   className="projects-topbar"
82 >
83   <div
84     className="projects-topbar-actions open"
85   >
86     <a
87       className="projects-topbar-button button-icon"
88       href="#"
89       onClick={[Function]}
90     >
91       <CloseIcon />
92     </a>
93     <div
94       className="projects-topbar-actions-inner"
95     >
96       <PerspectiveSelect
97         className="projects-topbar-item js-projects-perspective-select"
98         view="leak"
99         visualization="risk"
100       />
101       <ProjectsSortingSelect
102         className="projects-topbar-item js-projects-sorting-select"
103         view="leak"
104       />
105     </div>
106   </div>
107 </div>
108 `;