1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render commentable correctly 1`] = `
5 className="issue-actions"
8 className="issue-meta-list"
11 className="issue-meta"
21 "component": "main.js",
22 "componentLongName": "main.js",
23 "componentQualifier": "FIL",
24 "componentUuid": "foo1234",
25 "creationDate": "2017-03-01T09:36:01+0100",
28 "key": "AVsae-CQS-9G3txfbFN2",
30 "message": "Reduce the number of conditional operators (4) used in the expression",
31 "project": "myproject",
34 "rule": "javascript:S1067",
36 "secondaryLocations": Array [],
45 "transitions": Array [],
49 setIssueProperty={[Function]}
50 togglePopup={[MockFunction]}
54 className="issue-meta"
57 canSetSeverity={false}
64 "component": "main.js",
65 "componentLongName": "main.js",
66 "componentQualifier": "FIL",
67 "componentUuid": "foo1234",
68 "creationDate": "2017-03-01T09:36:01+0100",
71 "key": "AVsae-CQS-9G3txfbFN2",
73 "message": "Reduce the number of conditional operators (4) used in the expression",
74 "project": "myproject",
77 "rule": "javascript:S1067",
79 "secondaryLocations": Array [],
88 "transitions": Array [],
92 setIssueProperty={[Function]}
93 togglePopup={[MockFunction]}
97 className="issue-meta"
100 hasTransitions={false}
107 "component": "main.js",
108 "componentLongName": "main.js",
109 "componentQualifier": "FIL",
110 "componentUuid": "foo1234",
111 "creationDate": "2017-03-01T09:36:01+0100",
113 "fromHotspot": false,
114 "key": "AVsae-CQS-9G3txfbFN2",
116 "message": "Reduce the number of conditional operators (4) used in the expression",
117 "project": "myproject",
119 "projectName": "Foo",
120 "rule": "javascript:S1067",
122 "secondaryLocations": Array [],
125 "textRange": Object {
131 "transitions": Array [],
135 onChange={[Function]}
136 togglePopup={[MockFunction]}
140 className="issue-meta"
150 "component": "main.js",
151 "componentLongName": "main.js",
152 "componentQualifier": "FIL",
153 "componentUuid": "foo1234",
154 "creationDate": "2017-03-01T09:36:01+0100",
156 "fromHotspot": false,
157 "key": "AVsae-CQS-9G3txfbFN2",
159 "message": "Reduce the number of conditional operators (4) used in the expression",
160 "project": "myproject",
162 "projectName": "Foo",
163 "rule": "javascript:S1067",
165 "secondaryLocations": Array [],
168 "textRange": Object {
174 "transitions": Array [],
178 onAssign={[MockFunction]}
179 togglePopup={[MockFunction]}
183 commentAutoTriggered={false}
184 commentPlaceholder=""
185 issueKey="AVsae-CQS-9G3txfbFN2"
186 onChange={[MockFunction]}
187 toggleComment={[Function]}
191 className="list-inline"
194 className="issue-meta js-issue-tags"
204 "component": "main.js",
205 "componentLongName": "main.js",
206 "componentQualifier": "FIL",
207 "componentUuid": "foo1234",
208 "creationDate": "2017-03-01T09:36:01+0100",
210 "fromHotspot": false,
211 "key": "AVsae-CQS-9G3txfbFN2",
213 "message": "Reduce the number of conditional operators (4) used in the expression",
214 "project": "myproject",
216 "projectName": "Foo",
217 "rule": "javascript:S1067",
219 "secondaryLocations": Array [],
222 "textRange": Object {
228 "transitions": Array [],
232 onChange={[MockFunction]}
233 togglePopup={[MockFunction]}
240 exports[`should render effort correctly 1`] = `
242 className="issue-actions"
245 className="issue-meta-list"
248 className="issue-meta"
256 "component": "main.js",
257 "componentLongName": "main.js",
258 "componentQualifier": "FIL",
259 "componentUuid": "foo1234",
260 "creationDate": "2017-03-01T09:36:01+0100",
263 "fromHotspot": false,
264 "key": "AVsae-CQS-9G3txfbFN2",
266 "message": "Reduce the number of conditional operators (4) used in the expression",
267 "project": "myproject",
269 "projectName": "Foo",
270 "rule": "javascript:S1067",
272 "secondaryLocations": Array [],
275 "textRange": Object {
281 "transitions": Array [],
285 setIssueProperty={[Function]}
286 togglePopup={[MockFunction]}
290 className="issue-meta"
293 canSetSeverity={false}
298 "component": "main.js",
299 "componentLongName": "main.js",
300 "componentQualifier": "FIL",
301 "componentUuid": "foo1234",
302 "creationDate": "2017-03-01T09:36:01+0100",
305 "fromHotspot": false,
306 "key": "AVsae-CQS-9G3txfbFN2",
308 "message": "Reduce the number of conditional operators (4) used in the expression",
309 "project": "myproject",
311 "projectName": "Foo",
312 "rule": "javascript:S1067",
314 "secondaryLocations": Array [],
317 "textRange": Object {
323 "transitions": Array [],
327 setIssueProperty={[Function]}
328 togglePopup={[MockFunction]}
332 className="issue-meta"
335 hasTransitions={false}
340 "component": "main.js",
341 "componentLongName": "main.js",
342 "componentQualifier": "FIL",
343 "componentUuid": "foo1234",
344 "creationDate": "2017-03-01T09:36:01+0100",
347 "fromHotspot": false,
348 "key": "AVsae-CQS-9G3txfbFN2",
350 "message": "Reduce the number of conditional operators (4) used in the expression",
351 "project": "myproject",
353 "projectName": "Foo",
354 "rule": "javascript:S1067",
356 "secondaryLocations": Array [],
359 "textRange": Object {
365 "transitions": Array [],
369 onChange={[Function]}
370 togglePopup={[MockFunction]}
374 className="issue-meta"
382 "component": "main.js",
383 "componentLongName": "main.js",
384 "componentQualifier": "FIL",
385 "componentUuid": "foo1234",
386 "creationDate": "2017-03-01T09:36:01+0100",
389 "fromHotspot": false,
390 "key": "AVsae-CQS-9G3txfbFN2",
392 "message": "Reduce the number of conditional operators (4) used in the expression",
393 "project": "myproject",
395 "projectName": "Foo",
396 "rule": "javascript:S1067",
398 "secondaryLocations": Array [],
401 "textRange": Object {
407 "transitions": Array [],
411 onAssign={[MockFunction]}
412 togglePopup={[MockFunction]}
416 className="issue-meta"
419 className="issue-meta-label"
426 className="list-inline"
429 className="issue-meta js-issue-tags"
437 "component": "main.js",
438 "componentLongName": "main.js",
439 "componentQualifier": "FIL",
440 "componentUuid": "foo1234",
441 "creationDate": "2017-03-01T09:36:01+0100",
444 "fromHotspot": false,
445 "key": "AVsae-CQS-9G3txfbFN2",
447 "message": "Reduce the number of conditional operators (4) used in the expression",
448 "project": "myproject",
450 "projectName": "Foo",
451 "rule": "javascript:S1067",
453 "secondaryLocations": Array [],
456 "textRange": Object {
462 "transitions": Array [],
466 onChange={[MockFunction]}
467 togglePopup={[MockFunction]}
474 exports[`should render issue correctly 1`] = `
476 className="issue-actions"
479 className="issue-meta-list"
482 className="issue-meta"
490 "component": "main.js",
491 "componentLongName": "main.js",
492 "componentQualifier": "FIL",
493 "componentUuid": "foo1234",
494 "creationDate": "2017-03-01T09:36:01+0100",
496 "fromHotspot": false,
497 "key": "AVsae-CQS-9G3txfbFN2",
499 "message": "Reduce the number of conditional operators (4) used in the expression",
500 "project": "myproject",
502 "projectName": "Foo",
503 "rule": "javascript:S1067",
505 "secondaryLocations": Array [],
508 "textRange": Object {
514 "transitions": Array [],
518 setIssueProperty={[Function]}
519 togglePopup={[MockFunction]}
523 className="issue-meta"
526 canSetSeverity={false}
531 "component": "main.js",
532 "componentLongName": "main.js",
533 "componentQualifier": "FIL",
534 "componentUuid": "foo1234",
535 "creationDate": "2017-03-01T09:36:01+0100",
537 "fromHotspot": false,
538 "key": "AVsae-CQS-9G3txfbFN2",
540 "message": "Reduce the number of conditional operators (4) used in the expression",
541 "project": "myproject",
543 "projectName": "Foo",
544 "rule": "javascript:S1067",
546 "secondaryLocations": Array [],
549 "textRange": Object {
555 "transitions": Array [],
559 setIssueProperty={[Function]}
560 togglePopup={[MockFunction]}
564 className="issue-meta"
567 hasTransitions={false}
572 "component": "main.js",
573 "componentLongName": "main.js",
574 "componentQualifier": "FIL",
575 "componentUuid": "foo1234",
576 "creationDate": "2017-03-01T09:36:01+0100",
578 "fromHotspot": false,
579 "key": "AVsae-CQS-9G3txfbFN2",
581 "message": "Reduce the number of conditional operators (4) used in the expression",
582 "project": "myproject",
584 "projectName": "Foo",
585 "rule": "javascript:S1067",
587 "secondaryLocations": Array [],
590 "textRange": Object {
596 "transitions": Array [],
600 onChange={[Function]}
601 togglePopup={[MockFunction]}
605 className="issue-meta"
613 "component": "main.js",
614 "componentLongName": "main.js",
615 "componentQualifier": "FIL",
616 "componentUuid": "foo1234",
617 "creationDate": "2017-03-01T09:36:01+0100",
619 "fromHotspot": false,
620 "key": "AVsae-CQS-9G3txfbFN2",
622 "message": "Reduce the number of conditional operators (4) used in the expression",
623 "project": "myproject",
625 "projectName": "Foo",
626 "rule": "javascript:S1067",
628 "secondaryLocations": Array [],
631 "textRange": Object {
637 "transitions": Array [],
641 onAssign={[MockFunction]}
642 togglePopup={[MockFunction]}
647 className="list-inline"
650 className="issue-meta js-issue-tags"
658 "component": "main.js",
659 "componentLongName": "main.js",
660 "componentQualifier": "FIL",
661 "componentUuid": "foo1234",
662 "creationDate": "2017-03-01T09:36:01+0100",
664 "fromHotspot": false,
665 "key": "AVsae-CQS-9G3txfbFN2",
667 "message": "Reduce the number of conditional operators (4) used in the expression",
668 "project": "myproject",
670 "projectName": "Foo",
671 "rule": "javascript:S1067",
673 "secondaryLocations": Array [],
676 "textRange": Object {
682 "transitions": Array [],
686 onChange={[MockFunction]}
687 togglePopup={[MockFunction]}
694 exports[`should render security hotspot correctly 1`] = `
696 className="issue-actions"
699 className="issue-meta-list"
702 className="issue-meta"
710 "component": "main.js",
711 "componentLongName": "main.js",
712 "componentQualifier": "FIL",
713 "componentUuid": "foo1234",
714 "creationDate": "2017-03-01T09:36:01+0100",
716 "fromHotspot": false,
717 "key": "AVsae-CQS-9G3txfbFN2",
719 "message": "Reduce the number of conditional operators (4) used in the expression",
720 "project": "myproject",
722 "projectName": "Foo",
723 "rule": "javascript:S1067",
725 "secondaryLocations": Array [],
728 "textRange": Object {
734 "transitions": Array [],
735 "type": "SECURITY_HOTSPOT",
738 setIssueProperty={[Function]}
739 togglePopup={[MockFunction]}
743 className="issue-meta"
746 hasTransitions={false}
751 "component": "main.js",
752 "componentLongName": "main.js",
753 "componentQualifier": "FIL",
754 "componentUuid": "foo1234",
755 "creationDate": "2017-03-01T09:36:01+0100",
757 "fromHotspot": false,
758 "key": "AVsae-CQS-9G3txfbFN2",
760 "message": "Reduce the number of conditional operators (4) used in the expression",
761 "project": "myproject",
763 "projectName": "Foo",
764 "rule": "javascript:S1067",
766 "secondaryLocations": Array [],
769 "textRange": Object {
775 "transitions": Array [],
776 "type": "SECURITY_HOTSPOT",
779 onChange={[Function]}
780 togglePopup={[MockFunction]}
784 className="issue-meta"
792 "component": "main.js",
793 "componentLongName": "main.js",
794 "componentQualifier": "FIL",
795 "componentUuid": "foo1234",
796 "creationDate": "2017-03-01T09:36:01+0100",
798 "fromHotspot": false,
799 "key": "AVsae-CQS-9G3txfbFN2",
801 "message": "Reduce the number of conditional operators (4) used in the expression",
802 "project": "myproject",
804 "projectName": "Foo",
805 "rule": "javascript:S1067",
807 "secondaryLocations": Array [],
810 "textRange": Object {
816 "transitions": Array [],
817 "type": "SECURITY_HOTSPOT",
820 onAssign={[MockFunction]}
821 togglePopup={[MockFunction]}
826 className="list-inline"
829 className="issue-meta js-issue-tags"
837 "component": "main.js",
838 "componentLongName": "main.js",
839 "componentQualifier": "FIL",
840 "componentUuid": "foo1234",
841 "creationDate": "2017-03-01T09:36:01+0100",
843 "fromHotspot": false,
844 "key": "AVsae-CQS-9G3txfbFN2",
846 "message": "Reduce the number of conditional operators (4) used in the expression",
847 "project": "myproject",
849 "projectName": "Foo",
850 "rule": "javascript:S1067",
852 "secondaryLocations": Array [],
855 "textRange": Object {
861 "transitions": Array [],
862 "type": "SECURITY_HOTSPOT",
865 onChange={[MockFunction]}
866 togglePopup={[MockFunction]}