]> source.dussan.org Git - sonarqube.git/blob
20f543700bf9da95eb0cd791af38e2d257511250
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div
5   className="source-viewer-header-slim display-flex-row display-flex-space-between"
6 >
7   <div
8     className="display-flex-row flex-1"
9   >
10     <div>
11       <a
12         className="link-with-icon"
13         href="/dashboard?id=my-project"
14       >
15         <QualifierIcon
16           qualifier="TRK"
17         />
18          
19         <span>
20           MyProject
21         </span>
22       </a>
23     </div>
24     <div
25       className="spacer-left"
26     >
27       <QualifierIcon
28         qualifier="FIL"
29       />
30        
31       <span>
32         foo/
33       </span>
34       <span
35         className="component-name-file"
36       >
37         bar.ts
38       </span>
39     </div>
40   </div>
41   <DeferredSpinner
42     className="little-spacer-right"
43     timeout={100}
44   >
45     <div
46       className="source-viewer-header-slim-actions flex-0"
47     >
48       <ButtonIcon
49         className="js-actions"
50         onClick={[MockFunction]}
51       >
52         <ExpandSnippetIcon />
53       </ButtonIcon>
54     </div>
55   </DeferredSpinner>
56 </div>
57 `;
58
59 exports[`should render correctly for subproject 1`] = `
60 <div
61   className="source-viewer-header-slim display-flex-row display-flex-space-between"
62 >
63   <div
64     className="display-flex-row flex-1"
65   >
66     <div>
67       <a
68         className="link-with-icon"
69         href="/dashboard?id=my-project"
70       >
71         <QualifierIcon
72           qualifier="TRK"
73         />
74          
75         <span>
76           MyProject
77         </span>
78       </a>
79     </div>
80     <QualifierIcon
81       qualifier="BRC"
82     />
83      
84     <span>
85       Foo
86     </span>
87     <div
88       className="spacer-left"
89     >
90       <QualifierIcon
91         qualifier="FIL"
92       />
93        
94       <span>
95         foo/
96       </span>
97       <span
98         className="component-name-file"
99       >
100         bar.ts
101       </span>
102     </div>
103   </div>
104   <DeferredSpinner
105     className="little-spacer-right"
106     timeout={100}
107   >
108     <div
109       className="source-viewer-header-slim-actions flex-0"
110     >
111       <ButtonIcon
112         className="js-actions"
113         onClick={[MockFunction]}
114       >
115         <ExpandSnippetIcon />
116       </ButtonIcon>
117     </div>
118   </DeferredSpinner>
119 </div>
120 `;