]> source.dussan.org Git - sonarqube.git/blob
b76b6259156789fcb5fb5cbe2284948ebf816845
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render \`leak\` view correctly 1`] = `
4 <div>
5   <withRouter(withCurrentUserContext(FavoriteFilter)) />
6   <div
7     className="projects-facets-header clearfix"
8   >
9     <h2
10       className="h3"
11     >
12       filters
13     </h2>
14   </div>
15   <QualityGateFilter
16     onQueryChange={[MockFunction]}
17   />
18   <NewReliabilityFilter
19     onQueryChange={[MockFunction]}
20   />
21   <NewSecurityFilter
22     onQueryChange={[MockFunction]}
23   />
24   <SecurityReviewFilter
25     className="leak-facet-box"
26     onQueryChange={[MockFunction]}
27     property="new_security_review"
28   />
29   <NewMaintainabilityFilter
30     onQueryChange={[MockFunction]}
31   />
32   <NewCoverageFilter
33     onQueryChange={[MockFunction]}
34   />
35   <NewDuplicationsFilter
36     onQueryChange={[MockFunction]}
37   />
38   <NewLinesFilter
39     onQueryChange={[MockFunction]}
40   />
41   <withLanguagesContext(LanguagesFilter)
42     onQueryChange={[MockFunction]}
43     query={
44       Object {
45         "view": "leak",
46       }
47     }
48   />
49   <QualifierFilter
50     onQueryChange={[MockFunction]}
51   />
52   <TagsFilter
53     onQueryChange={[MockFunction]}
54     query={
55       Object {
56         "view": "leak",
57       }
58     }
59   />
60 </div>
61 `;
62
63 exports[`should render \`leak\` view correctly with no applications 1`] = `
64 <div>
65   <withRouter(withCurrentUserContext(FavoriteFilter)) />
66   <div
67     className="projects-facets-header clearfix"
68   >
69     <h2
70       className="h3"
71     >
72       filters
73     </h2>
74   </div>
75   <QualityGateFilter
76     onQueryChange={[MockFunction]}
77   />
78   <NewReliabilityFilter
79     onQueryChange={[MockFunction]}
80   />
81   <NewSecurityFilter
82     onQueryChange={[MockFunction]}
83   />
84   <SecurityReviewFilter
85     className="leak-facet-box"
86     onQueryChange={[MockFunction]}
87     property="new_security_review"
88   />
89   <NewMaintainabilityFilter
90     onQueryChange={[MockFunction]}
91   />
92   <NewCoverageFilter
93     onQueryChange={[MockFunction]}
94   />
95   <NewDuplicationsFilter
96     onQueryChange={[MockFunction]}
97   />
98   <NewLinesFilter
99     onQueryChange={[MockFunction]}
100   />
101   <withLanguagesContext(LanguagesFilter)
102     onQueryChange={[MockFunction]}
103     query={
104       Object {
105         "view": "leak",
106       }
107     }
108   />
109   <TagsFilter
110     onQueryChange={[MockFunction]}
111     query={
112       Object {
113         "view": "leak",
114       }
115     }
116   />
117 </div>
118 `;
119
120 exports[`should render correctly 1`] = `
121 <div>
122   <withRouter(withCurrentUserContext(FavoriteFilter)) />
123   <div
124     className="projects-facets-header clearfix"
125   >
126     <ClearAll
127       onClearAll={[MockFunction]}
128     />
129     <h2
130       className="h3"
131     >
132       filters
133     </h2>
134   </div>
135   <QualityGateFilter
136     onQueryChange={[MockFunction]}
137   />
138   <ReliabilityFilter
139     onQueryChange={[MockFunction]}
140   />
141   <SecurityFilter
142     onQueryChange={[MockFunction]}
143   />
144   <SecurityReviewFilter
145     onQueryChange={[MockFunction]}
146   />
147   <MaintainabilityFilter
148     onQueryChange={[MockFunction]}
149   />
150   <CoverageFilter
151     onQueryChange={[MockFunction]}
152   />
153   <DuplicationsFilter
154     onQueryChange={[MockFunction]}
155   />
156   <SizeFilter
157     onQueryChange={[MockFunction]}
158     value="3"
159   />
160   <withLanguagesContext(LanguagesFilter)
161     onQueryChange={[MockFunction]}
162     query={
163       Object {
164         "size": "3",
165       }
166     }
167   />
168   <QualifierFilter
169     onQueryChange={[MockFunction]}
170   />
171   <TagsFilter
172     onQueryChange={[MockFunction]}
173     query={
174       Object {
175         "size": "3",
176       }
177     }
178   />
179 </div>
180 `;
181
182 exports[`should render correctly with no applications 1`] = `
183 <div>
184   <withRouter(withCurrentUserContext(FavoriteFilter)) />
185   <div
186     className="projects-facets-header clearfix"
187   >
188     <ClearAll
189       onClearAll={[MockFunction]}
190     />
191     <h2
192       className="h3"
193     >
194       filters
195     </h2>
196   </div>
197   <QualityGateFilter
198     onQueryChange={[MockFunction]}
199   />
200   <ReliabilityFilter
201     onQueryChange={[MockFunction]}
202   />
203   <SecurityFilter
204     onQueryChange={[MockFunction]}
205   />
206   <SecurityReviewFilter
207     onQueryChange={[MockFunction]}
208   />
209   <MaintainabilityFilter
210     onQueryChange={[MockFunction]}
211   />
212   <CoverageFilter
213     onQueryChange={[MockFunction]}
214   />
215   <DuplicationsFilter
216     onQueryChange={[MockFunction]}
217   />
218   <SizeFilter
219     onQueryChange={[MockFunction]}
220     value="3"
221   />
222   <withLanguagesContext(LanguagesFilter)
223     onQueryChange={[MockFunction]}
224     query={
225       Object {
226         "size": "3",
227       }
228     }
229   />
230   <TagsFilter
231     onQueryChange={[MockFunction]}
232     query={
233       Object {
234         "size": "3",
235       }
236     }
237   />
238 </div>
239 `;