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"
117 "author": "Developer 1",
118 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
119 "creationDate": "2013-05-13T17:55:39+0200",
122 "message": "'3' is a magic number.",
123 "project": "com.github.kevinsawicki:http-request",
124 "resolution": undefined,
125 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
126 "securityCategory": "cat1",
127 "status": "TO_REVIEW",
128 "updateDate": "2013-05-13T17:55:39+0200",
129 "vulnerabilityProbability": "HIGH",
133 onHotspotClick={[MockFunction]}
134 selectedHotspotKey="h2"
138 className="spacer-bottom"
151 "author": "Developer 1",
152 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
153 "creationDate": "2013-05-13T17:55:39+0200",
156 "message": "'3' is a magic number.",
157 "project": "com.github.kevinsawicki:http-request",
158 "resolution": undefined,
159 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
160 "securityCategory": "cat2",
161 "status": "TO_REVIEW",
162 "updateDate": "2013-05-13T17:55:39+0200",
163 "vulnerabilityProbability": "HIGH",
167 onHotspotClick={[MockFunction]}
168 selectedHotspotKey="h2"
174 className="big-spacer-bottom"
178 className="hotspot-risk-header little-spacer-left"
181 hotspots.risk_exposure
184 className="hotspot-risk-badge spacer-left MEDIUM"
191 className="spacer-bottom"
204 "author": "Developer 1",
205 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
206 "creationDate": "2013-05-13T17:55:39+0200",
209 "message": "'3' is a magic number.",
210 "project": "com.github.kevinsawicki:http-request",
211 "resolution": undefined,
212 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
213 "securityCategory": "cat1",
214 "status": "TO_REVIEW",
215 "updateDate": "2013-05-13T17:55:39+0200",
216 "vulnerabilityProbability": "MEDIUM",
219 "author": "Developer 1",
220 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
221 "creationDate": "2013-05-13T17:55:39+0200",
224 "message": "'3' is a magic number.",
225 "project": "com.github.kevinsawicki:http-request",
226 "resolution": undefined,
227 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
228 "securityCategory": "cat1",
229 "status": "TO_REVIEW",
230 "updateDate": "2013-05-13T17:55:39+0200",
231 "vulnerabilityProbability": "MEDIUM",
235 onHotspotClick={[MockFunction]}
236 selectedHotspotKey="h2"
240 className="spacer-bottom"
253 "author": "Developer 1",
254 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
255 "creationDate": "2013-05-13T17:55:39+0200",
258 "message": "'3' is a magic number.",
259 "project": "com.github.kevinsawicki:http-request",
260 "resolution": undefined,
261 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
262 "securityCategory": "cat2",
263 "status": "TO_REVIEW",
264 "updateDate": "2013-05-13T17:55:39+0200",
265 "vulnerabilityProbability": "MEDIUM",
269 onHotspotClick={[MockFunction]}
270 selectedHotspotKey="h2"
278 loadMore={[MockFunction]}
284 exports[`should render correctly with hotspots: pagination 1`] = `
286 className="huge-spacer-bottom"
289 className="hotspot-list-header bordered-bottom"
292 className="spacer-right"
294 hotspots.list_title.TO_REVIEW.5
297 className="big-spacer-bottom"
300 className="big-spacer-bottom"
304 className="hotspot-risk-header little-spacer-left"
307 hotspots.risk_exposure
310 className="hotspot-risk-badge spacer-left HIGH"
317 className="spacer-bottom"
330 "author": "Developer 1",
331 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
332 "creationDate": "2013-05-13T17:55:39+0200",
335 "message": "'3' is a magic number.",
336 "project": "com.github.kevinsawicki:http-request",
337 "resolution": undefined,
338 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
339 "securityCategory": "cat1",
340 "status": "TO_REVIEW",
341 "updateDate": "2013-05-13T17:55:39+0200",
342 "vulnerabilityProbability": "HIGH",
346 onHotspotClick={[MockFunction]}
347 selectedHotspotKey="h2"
351 className="spacer-bottom"
364 "author": "Developer 1",
365 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
366 "creationDate": "2013-05-13T17:55:39+0200",
369 "message": "'3' is a magic number.",
370 "project": "com.github.kevinsawicki:http-request",
371 "resolution": undefined,
372 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
373 "securityCategory": "cat2",
374 "status": "TO_REVIEW",
375 "updateDate": "2013-05-13T17:55:39+0200",
376 "vulnerabilityProbability": "HIGH",
380 onHotspotClick={[MockFunction]}
381 selectedHotspotKey="h2"
387 className="big-spacer-bottom"
391 className="hotspot-risk-header little-spacer-left"
394 hotspots.risk_exposure
397 className="hotspot-risk-badge spacer-left MEDIUM"
404 className="spacer-bottom"
417 "author": "Developer 1",
418 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
419 "creationDate": "2013-05-13T17:55:39+0200",
422 "message": "'3' is a magic number.",
423 "project": "com.github.kevinsawicki:http-request",
424 "resolution": undefined,
425 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
426 "securityCategory": "cat1",
427 "status": "TO_REVIEW",
428 "updateDate": "2013-05-13T17:55:39+0200",
429 "vulnerabilityProbability": "MEDIUM",
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": "cat1",
442 "status": "TO_REVIEW",
443 "updateDate": "2013-05-13T17:55:39+0200",
444 "vulnerabilityProbability": "MEDIUM",
448 onHotspotClick={[MockFunction]}
449 selectedHotspotKey="h2"
453 className="spacer-bottom"
466 "author": "Developer 1",
467 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
468 "creationDate": "2013-05-13T17:55:39+0200",
471 "message": "'3' is a magic number.",
472 "project": "com.github.kevinsawicki:http-request",
473 "resolution": undefined,
474 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
475 "securityCategory": "cat2",
476 "status": "TO_REVIEW",
477 "updateDate": "2013-05-13T17:55:39+0200",
478 "vulnerabilityProbability": "MEDIUM",
482 onHotspotClick={[MockFunction]}
483 selectedHotspotKey="h2"
491 loadMore={[MockFunction]}