1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
5 className="huge-spacer-bottom"
8 className="hotspot-list-header bordered-bottom"
11 className="spacer-right"
13 hotspots.list_title.TO_REVIEW.0
16 className="big-spacer-bottom"
20 loadMore={[MockFunction]}
26 exports[`should render correctly 2`] = `
28 className="huge-spacer-bottom"
31 className="hotspot-list-header bordered-bottom"
34 className="spacer-right"
36 hotspots.list_title.TO_REVIEW.0
39 className="big-spacer-bottom"
48 exports[`should render correctly when the list of hotspot is static 1`] = `
50 className="huge-spacer-bottom"
53 className="hotspot-list-header bordered-bottom"
56 className="spacer-right"
61 className="big-spacer-bottom"
65 loadMore={[MockFunction]}
71 exports[`should render correctly with hotspots: no pagination 1`] = `
73 className="huge-spacer-bottom"
76 className="hotspot-list-header bordered-bottom"
79 className="spacer-right"
81 hotspots.list_title.TO_REVIEW.5
84 className="big-spacer-bottom"
87 className="big-spacer-bottom"
91 className="hotspot-risk-header little-spacer-left"
94 hotspots.risk_exposure
97 className="hotspot-risk-badge spacer-left HIGH"
104 className="spacer-bottom"
111 "author": "Developer 1",
112 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
113 "creationDate": "2013-05-13T17:55:39+0200",
116 "message": "'3' is a magic number.",
117 "project": "com.github.kevinsawicki:http-request",
118 "resolution": undefined,
119 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
120 "securityCategory": "cat1",
121 "status": "TO_REVIEW",
122 "updateDate": "2013-05-13T17:55:39+0200",
123 "vulnerabilityProbability": "HIGH",
127 onHotspotClick={[MockFunction]}
128 selectedHotspotKey="h2"
129 startsExpanded={true}
134 className="spacer-bottom"
141 "author": "Developer 1",
142 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
143 "creationDate": "2013-05-13T17:55:39+0200",
146 "message": "'3' is a magic number.",
147 "project": "com.github.kevinsawicki:http-request",
148 "resolution": undefined,
149 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
150 "securityCategory": "cat2",
151 "status": "TO_REVIEW",
152 "updateDate": "2013-05-13T17:55:39+0200",
153 "vulnerabilityProbability": "HIGH",
157 onHotspotClick={[MockFunction]}
158 selectedHotspotKey="h2"
159 startsExpanded={false}
166 className="big-spacer-bottom"
170 className="hotspot-risk-header little-spacer-left"
173 hotspots.risk_exposure
176 className="hotspot-risk-badge spacer-left MEDIUM"
183 className="spacer-bottom"
190 "author": "Developer 1",
191 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
192 "creationDate": "2013-05-13T17:55:39+0200",
195 "message": "'3' is a magic number.",
196 "project": "com.github.kevinsawicki:http-request",
197 "resolution": undefined,
198 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
199 "securityCategory": "cat1",
200 "status": "TO_REVIEW",
201 "updateDate": "2013-05-13T17:55:39+0200",
202 "vulnerabilityProbability": "MEDIUM",
205 "author": "Developer 1",
206 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
207 "creationDate": "2013-05-13T17:55:39+0200",
210 "message": "'3' is a magic number.",
211 "project": "com.github.kevinsawicki:http-request",
212 "resolution": undefined,
213 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
214 "securityCategory": "cat1",
215 "status": "TO_REVIEW",
216 "updateDate": "2013-05-13T17:55:39+0200",
217 "vulnerabilityProbability": "MEDIUM",
221 onHotspotClick={[MockFunction]}
222 selectedHotspotKey="h2"
223 startsExpanded={false}
228 className="spacer-bottom"
235 "author": "Developer 1",
236 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
237 "creationDate": "2013-05-13T17:55:39+0200",
240 "message": "'3' is a magic number.",
241 "project": "com.github.kevinsawicki:http-request",
242 "resolution": undefined,
243 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
244 "securityCategory": "cat2",
245 "status": "TO_REVIEW",
246 "updateDate": "2013-05-13T17:55:39+0200",
247 "vulnerabilityProbability": "MEDIUM",
251 onHotspotClick={[MockFunction]}
252 selectedHotspotKey="h2"
253 startsExpanded={false}
262 loadMore={[MockFunction]}
268 exports[`should render correctly with hotspots: pagination 1`] = `
270 className="huge-spacer-bottom"
273 className="hotspot-list-header bordered-bottom"
276 className="spacer-right"
278 hotspots.list_title.TO_REVIEW.5
281 className="big-spacer-bottom"
284 className="big-spacer-bottom"
288 className="hotspot-risk-header little-spacer-left"
291 hotspots.risk_exposure
294 className="hotspot-risk-badge spacer-left HIGH"
301 className="spacer-bottom"
308 "author": "Developer 1",
309 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
310 "creationDate": "2013-05-13T17:55:39+0200",
313 "message": "'3' is a magic number.",
314 "project": "com.github.kevinsawicki:http-request",
315 "resolution": undefined,
316 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
317 "securityCategory": "cat1",
318 "status": "TO_REVIEW",
319 "updateDate": "2013-05-13T17:55:39+0200",
320 "vulnerabilityProbability": "HIGH",
324 onHotspotClick={[MockFunction]}
325 selectedHotspotKey="h2"
326 startsExpanded={true}
331 className="spacer-bottom"
338 "author": "Developer 1",
339 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
340 "creationDate": "2013-05-13T17:55:39+0200",
343 "message": "'3' is a magic number.",
344 "project": "com.github.kevinsawicki:http-request",
345 "resolution": undefined,
346 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
347 "securityCategory": "cat2",
348 "status": "TO_REVIEW",
349 "updateDate": "2013-05-13T17:55:39+0200",
350 "vulnerabilityProbability": "HIGH",
354 onHotspotClick={[MockFunction]}
355 selectedHotspotKey="h2"
356 startsExpanded={false}
363 className="big-spacer-bottom"
367 className="hotspot-risk-header little-spacer-left"
370 hotspots.risk_exposure
373 className="hotspot-risk-badge spacer-left MEDIUM"
380 className="spacer-bottom"
387 "author": "Developer 1",
388 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
389 "creationDate": "2013-05-13T17:55:39+0200",
392 "message": "'3' is a magic number.",
393 "project": "com.github.kevinsawicki:http-request",
394 "resolution": undefined,
395 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
396 "securityCategory": "cat1",
397 "status": "TO_REVIEW",
398 "updateDate": "2013-05-13T17:55:39+0200",
399 "vulnerabilityProbability": "MEDIUM",
402 "author": "Developer 1",
403 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
404 "creationDate": "2013-05-13T17:55:39+0200",
407 "message": "'3' is a magic number.",
408 "project": "com.github.kevinsawicki:http-request",
409 "resolution": undefined,
410 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
411 "securityCategory": "cat1",
412 "status": "TO_REVIEW",
413 "updateDate": "2013-05-13T17:55:39+0200",
414 "vulnerabilityProbability": "MEDIUM",
418 onHotspotClick={[MockFunction]}
419 selectedHotspotKey="h2"
420 startsExpanded={false}
425 className="spacer-bottom"
432 "author": "Developer 1",
433 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
434 "creationDate": "2013-05-13T17:55:39+0200",
437 "message": "'3' is a magic number.",
438 "project": "com.github.kevinsawicki:http-request",
439 "resolution": undefined,
440 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
441 "securityCategory": "cat2",
442 "status": "TO_REVIEW",
443 "updateDate": "2013-05-13T17:55:39+0200",
444 "vulnerabilityProbability": "MEDIUM",
448 onHotspotClick={[MockFunction]}
449 selectedHotspotKey="h2"
450 startsExpanded={false}
459 loadMore={[MockFunction]}