]> source.dussan.org Git - sonarqube.git/blob
581e8c21603ab831ab072e7c41950260745befa9
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <div
5   className="spacer-top"
6 >
7   <div
8     className="locations-navigator-file"
9     key="0"
10   >
11     <div
12       className="location-file"
13     >
14       <i
15         className="location-file-circle little-spacer-right"
16       />
17       src/foo.js
18     </div>
19     <div
20       className="location-file-locations"
21     >
22       <SingleFileLocationNavigator
23         index={0}
24         key="0"
25         message="Do not use foo"
26         onClick={[MockFunction]}
27         selected={false}
28       />
29     </div>
30   </div>
31   <div
32     className="locations-navigator-file"
33   >
34     <div
35       className="location-file"
36     >
37       <i
38         className="location-file-circle-multiple little-spacer-right"
39       />
40       <a
41         className="location-file-more"
42         href="#"
43         onClick={[Function]}
44       >
45         issues.x_more_locations.2
46       </a>
47     </div>
48   </div>
49   <div
50     className="locations-navigator-file"
51     key="1"
52   >
53     <div
54       className="location-file"
55     >
56       <i
57         className="location-file-circle little-spacer-right"
58       />
59       src/bar.js
60     </div>
61     <div
62       className="location-file-locations"
63     >
64       <SingleFileLocationNavigator
65         index={3}
66         key="3"
67         message="Do not use bar"
68         onClick={[MockFunction]}
69         selected={false}
70       />
71     </div>
72   </div>
73 </div>
74 `;
75
76 exports[`should render locations with no component name 1`] = `
77 <div
78   className="spacer-top"
79 >
80   <div
81     className="locations-navigator-file"
82     key="0"
83   >
84     <div
85       className="location-file"
86     >
87       <i
88         className="location-file-circle little-spacer-right"
89       />
90     </div>
91     <div
92       className="location-file-locations"
93     >
94       <SingleFileLocationNavigator
95         index={0}
96         key="0"
97         onClick={[MockFunction]}
98         selected={false}
99       />
100     </div>
101   </div>
102 </div>
103 `;
104
105 exports[`should render with no locations 1`] = `
106 <div
107   className="spacer-top"
108 />
109 `;