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 "componentEnabled": true,
23 "componentLongName": "main.js",
24 "componentQualifier": "FIL",
25 "componentUuid": "foo1234",
26 "creationDate": "2017-03-01T09:36:01+0100",
29 "key": "AVsae-CQS-9G3txfbFN2",
31 "message": "Reduce the number of conditional operators (4) used in the expression",
32 "project": "myproject",
35 "rule": "javascript:S1067",
38 "secondaryLocations": [],
51 setIssueProperty={[Function]}
52 togglePopup={[MockFunction]}
56 className="issue-meta"
59 canSetSeverity={false}
66 "component": "main.js",
67 "componentEnabled": true,
68 "componentLongName": "main.js",
69 "componentQualifier": "FIL",
70 "componentUuid": "foo1234",
71 "creationDate": "2017-03-01T09:36:01+0100",
74 "key": "AVsae-CQS-9G3txfbFN2",
76 "message": "Reduce the number of conditional operators (4) used in the expression",
77 "project": "myproject",
80 "rule": "javascript:S1067",
83 "secondaryLocations": [],
96 setIssueProperty={[Function]}
97 togglePopup={[MockFunction]}
101 className="issue-meta"
104 hasTransitions={false}
111 "component": "main.js",
112 "componentEnabled": true,
113 "componentLongName": "main.js",
114 "componentQualifier": "FIL",
115 "componentUuid": "foo1234",
116 "creationDate": "2017-03-01T09:36:01+0100",
119 "key": "AVsae-CQS-9G3txfbFN2",
121 "message": "Reduce the number of conditional operators (4) used in the expression",
122 "project": "myproject",
124 "projectName": "Foo",
125 "rule": "javascript:S1067",
128 "secondaryLocations": [],
141 onChange={[Function]}
142 togglePopup={[MockFunction]}
146 className="issue-meta"
156 "component": "main.js",
157 "componentEnabled": true,
158 "componentLongName": "main.js",
159 "componentQualifier": "FIL",
160 "componentUuid": "foo1234",
161 "creationDate": "2017-03-01T09:36:01+0100",
164 "key": "AVsae-CQS-9G3txfbFN2",
166 "message": "Reduce the number of conditional operators (4) used in the expression",
167 "project": "myproject",
169 "projectName": "Foo",
170 "rule": "javascript:S1067",
173 "secondaryLocations": [],
186 onAssign={[MockFunction]}
187 togglePopup={[MockFunction]}
192 commentAutoTriggered={false}
193 commentPlaceholder=""
194 issueKey="AVsae-CQS-9G3txfbFN2"
195 onChange={[MockFunction]}
196 toggleComment={[Function]}
200 className="list-inline"
203 className="issue-meta js-issue-tags"
213 "component": "main.js",
214 "componentEnabled": true,
215 "componentLongName": "main.js",
216 "componentQualifier": "FIL",
217 "componentUuid": "foo1234",
218 "creationDate": "2017-03-01T09:36:01+0100",
221 "key": "AVsae-CQS-9G3txfbFN2",
223 "message": "Reduce the number of conditional operators (4) used in the expression",
224 "project": "myproject",
226 "projectName": "Foo",
227 "rule": "javascript:S1067",
230 "secondaryLocations": [],
243 onChange={[MockFunction]}
244 togglePopup={[MockFunction]}
251 exports[`should render effort correctly 1`] = `
253 className="issue-actions"
256 className="issue-meta-list"
259 className="issue-meta"
267 "component": "main.js",
268 "componentEnabled": true,
269 "componentLongName": "main.js",
270 "componentQualifier": "FIL",
271 "componentUuid": "foo1234",
272 "creationDate": "2017-03-01T09:36:01+0100",
276 "key": "AVsae-CQS-9G3txfbFN2",
278 "message": "Reduce the number of conditional operators (4) used in the expression",
279 "project": "myproject",
281 "projectName": "Foo",
282 "rule": "javascript:S1067",
285 "secondaryLocations": [],
298 setIssueProperty={[Function]}
299 togglePopup={[MockFunction]}
303 className="issue-meta"
306 canSetSeverity={false}
311 "component": "main.js",
312 "componentEnabled": true,
313 "componentLongName": "main.js",
314 "componentQualifier": "FIL",
315 "componentUuid": "foo1234",
316 "creationDate": "2017-03-01T09:36:01+0100",
320 "key": "AVsae-CQS-9G3txfbFN2",
322 "message": "Reduce the number of conditional operators (4) used in the expression",
323 "project": "myproject",
325 "projectName": "Foo",
326 "rule": "javascript:S1067",
329 "secondaryLocations": [],
342 setIssueProperty={[Function]}
343 togglePopup={[MockFunction]}
347 className="issue-meta"
350 hasTransitions={false}
355 "component": "main.js",
356 "componentEnabled": true,
357 "componentLongName": "main.js",
358 "componentQualifier": "FIL",
359 "componentUuid": "foo1234",
360 "creationDate": "2017-03-01T09:36:01+0100",
364 "key": "AVsae-CQS-9G3txfbFN2",
366 "message": "Reduce the number of conditional operators (4) used in the expression",
367 "project": "myproject",
369 "projectName": "Foo",
370 "rule": "javascript:S1067",
373 "secondaryLocations": [],
386 onChange={[Function]}
387 togglePopup={[MockFunction]}
391 className="issue-meta"
399 "component": "main.js",
400 "componentEnabled": true,
401 "componentLongName": "main.js",
402 "componentQualifier": "FIL",
403 "componentUuid": "foo1234",
404 "creationDate": "2017-03-01T09:36:01+0100",
408 "key": "AVsae-CQS-9G3txfbFN2",
410 "message": "Reduce the number of conditional operators (4) used in the expression",
411 "project": "myproject",
413 "projectName": "Foo",
414 "rule": "javascript:S1067",
417 "secondaryLocations": [],
430 onAssign={[MockFunction]}
431 togglePopup={[MockFunction]}
435 className="issue-meta"
438 className="issue-meta-label"
445 className="list-inline"
448 className="issue-meta js-issue-tags"
456 "component": "main.js",
457 "componentEnabled": true,
458 "componentLongName": "main.js",
459 "componentQualifier": "FIL",
460 "componentUuid": "foo1234",
461 "creationDate": "2017-03-01T09:36:01+0100",
465 "key": "AVsae-CQS-9G3txfbFN2",
467 "message": "Reduce the number of conditional operators (4) used in the expression",
468 "project": "myproject",
470 "projectName": "Foo",
471 "rule": "javascript:S1067",
474 "secondaryLocations": [],
487 onChange={[MockFunction]}
488 togglePopup={[MockFunction]}
495 exports[`should render issue correctly 1`] = `
497 className="issue-actions"
500 className="issue-meta-list"
503 className="issue-meta"
511 "component": "main.js",
512 "componentEnabled": true,
513 "componentLongName": "main.js",
514 "componentQualifier": "FIL",
515 "componentUuid": "foo1234",
516 "creationDate": "2017-03-01T09:36:01+0100",
519 "key": "AVsae-CQS-9G3txfbFN2",
521 "message": "Reduce the number of conditional operators (4) used in the expression",
522 "project": "myproject",
524 "projectName": "Foo",
525 "rule": "javascript:S1067",
528 "secondaryLocations": [],
541 setIssueProperty={[Function]}
542 togglePopup={[MockFunction]}
546 className="issue-meta"
549 canSetSeverity={false}
554 "component": "main.js",
555 "componentEnabled": true,
556 "componentLongName": "main.js",
557 "componentQualifier": "FIL",
558 "componentUuid": "foo1234",
559 "creationDate": "2017-03-01T09:36:01+0100",
562 "key": "AVsae-CQS-9G3txfbFN2",
564 "message": "Reduce the number of conditional operators (4) used in the expression",
565 "project": "myproject",
567 "projectName": "Foo",
568 "rule": "javascript:S1067",
571 "secondaryLocations": [],
584 setIssueProperty={[Function]}
585 togglePopup={[MockFunction]}
589 className="issue-meta"
592 hasTransitions={false}
597 "component": "main.js",
598 "componentEnabled": true,
599 "componentLongName": "main.js",
600 "componentQualifier": "FIL",
601 "componentUuid": "foo1234",
602 "creationDate": "2017-03-01T09:36:01+0100",
605 "key": "AVsae-CQS-9G3txfbFN2",
607 "message": "Reduce the number of conditional operators (4) used in the expression",
608 "project": "myproject",
610 "projectName": "Foo",
611 "rule": "javascript:S1067",
614 "secondaryLocations": [],
627 onChange={[Function]}
628 togglePopup={[MockFunction]}
632 className="issue-meta"
640 "component": "main.js",
641 "componentEnabled": true,
642 "componentLongName": "main.js",
643 "componentQualifier": "FIL",
644 "componentUuid": "foo1234",
645 "creationDate": "2017-03-01T09:36:01+0100",
648 "key": "AVsae-CQS-9G3txfbFN2",
650 "message": "Reduce the number of conditional operators (4) used in the expression",
651 "project": "myproject",
653 "projectName": "Foo",
654 "rule": "javascript:S1067",
657 "secondaryLocations": [],
670 onAssign={[MockFunction]}
671 togglePopup={[MockFunction]}
676 className="list-inline"
679 className="issue-meta js-issue-tags"
687 "component": "main.js",
688 "componentEnabled": true,
689 "componentLongName": "main.js",
690 "componentQualifier": "FIL",
691 "componentUuid": "foo1234",
692 "creationDate": "2017-03-01T09:36:01+0100",
695 "key": "AVsae-CQS-9G3txfbFN2",
697 "message": "Reduce the number of conditional operators (4) used in the expression",
698 "project": "myproject",
700 "projectName": "Foo",
701 "rule": "javascript:S1067",
704 "secondaryLocations": [],
717 onChange={[MockFunction]}
718 togglePopup={[MockFunction]}
725 exports[`should render security hotspot correctly 1`] = `
727 className="issue-actions"
730 className="issue-meta-list"
733 className="issue-meta"
741 "component": "main.js",
742 "componentEnabled": true,
743 "componentLongName": "main.js",
744 "componentQualifier": "FIL",
745 "componentUuid": "foo1234",
746 "creationDate": "2017-03-01T09:36:01+0100",
749 "key": "AVsae-CQS-9G3txfbFN2",
751 "message": "Reduce the number of conditional operators (4) used in the expression",
752 "project": "myproject",
754 "projectName": "Foo",
755 "rule": "javascript:S1067",
758 "secondaryLocations": [],
768 "type": "SECURITY_HOTSPOT",
771 setIssueProperty={[Function]}
772 togglePopup={[MockFunction]}
776 className="issue-meta"
779 hasTransitions={false}
784 "component": "main.js",
785 "componentEnabled": true,
786 "componentLongName": "main.js",
787 "componentQualifier": "FIL",
788 "componentUuid": "foo1234",
789 "creationDate": "2017-03-01T09:36:01+0100",
792 "key": "AVsae-CQS-9G3txfbFN2",
794 "message": "Reduce the number of conditional operators (4) used in the expression",
795 "project": "myproject",
797 "projectName": "Foo",
798 "rule": "javascript:S1067",
801 "secondaryLocations": [],
811 "type": "SECURITY_HOTSPOT",
814 onChange={[Function]}
815 togglePopup={[MockFunction]}
819 className="issue-meta"
827 "component": "main.js",
828 "componentEnabled": true,
829 "componentLongName": "main.js",
830 "componentQualifier": "FIL",
831 "componentUuid": "foo1234",
832 "creationDate": "2017-03-01T09:36:01+0100",
835 "key": "AVsae-CQS-9G3txfbFN2",
837 "message": "Reduce the number of conditional operators (4) used in the expression",
838 "project": "myproject",
840 "projectName": "Foo",
841 "rule": "javascript:S1067",
844 "secondaryLocations": [],
854 "type": "SECURITY_HOTSPOT",
857 onAssign={[MockFunction]}
858 togglePopup={[MockFunction]}
863 className="list-inline"
866 className="issue-meta js-issue-tags"
874 "component": "main.js",
875 "componentEnabled": true,
876 "componentLongName": "main.js",
877 "componentQualifier": "FIL",
878 "componentUuid": "foo1234",
879 "creationDate": "2017-03-01T09:36:01+0100",
882 "key": "AVsae-CQS-9G3txfbFN2",
884 "message": "Reduce the number of conditional operators (4) used in the expression",
885 "project": "myproject",
887 "projectName": "Foo",
888 "rule": "javascript:S1067",
891 "secondaryLocations": [],
901 "type": "SECURITY_HOTSPOT",
904 onChange={[MockFunction]}
905 togglePopup={[MockFunction]}