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",
27 "flowsWithType": Array [],
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",
70 "flowsWithType": Array [],
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 "flowsWithType": Array [],
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 "flowsWithType": Array [],
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]}
184 commentAutoTriggered={false}
185 commentPlaceholder=""
186 issueKey="AVsae-CQS-9G3txfbFN2"
187 onChange={[MockFunction]}
188 toggleComment={[Function]}
192 className="list-inline"
195 className="issue-meta js-issue-tags"
205 "component": "main.js",
206 "componentLongName": "main.js",
207 "componentQualifier": "FIL",
208 "componentUuid": "foo1234",
209 "creationDate": "2017-03-01T09:36:01+0100",
211 "flowsWithType": Array [],
212 "key": "AVsae-CQS-9G3txfbFN2",
214 "message": "Reduce the number of conditional operators (4) used in the expression",
215 "project": "myproject",
217 "projectName": "Foo",
218 "rule": "javascript:S1067",
220 "secondaryLocations": Array [],
223 "textRange": Object {
229 "transitions": Array [],
233 onChange={[MockFunction]}
234 togglePopup={[MockFunction]}
241 exports[`should render effort correctly 1`] = `
243 className="issue-actions"
246 className="issue-meta-list"
249 className="issue-meta"
257 "component": "main.js",
258 "componentLongName": "main.js",
259 "componentQualifier": "FIL",
260 "componentUuid": "foo1234",
261 "creationDate": "2017-03-01T09:36:01+0100",
264 "flowsWithType": Array [],
265 "key": "AVsae-CQS-9G3txfbFN2",
267 "message": "Reduce the number of conditional operators (4) used in the expression",
268 "project": "myproject",
270 "projectName": "Foo",
271 "rule": "javascript:S1067",
273 "secondaryLocations": Array [],
276 "textRange": Object {
282 "transitions": Array [],
286 setIssueProperty={[Function]}
287 togglePopup={[MockFunction]}
291 className="issue-meta"
294 canSetSeverity={false}
299 "component": "main.js",
300 "componentLongName": "main.js",
301 "componentQualifier": "FIL",
302 "componentUuid": "foo1234",
303 "creationDate": "2017-03-01T09:36:01+0100",
306 "flowsWithType": Array [],
307 "key": "AVsae-CQS-9G3txfbFN2",
309 "message": "Reduce the number of conditional operators (4) used in the expression",
310 "project": "myproject",
312 "projectName": "Foo",
313 "rule": "javascript:S1067",
315 "secondaryLocations": Array [],
318 "textRange": Object {
324 "transitions": Array [],
328 setIssueProperty={[Function]}
329 togglePopup={[MockFunction]}
333 className="issue-meta"
336 hasTransitions={false}
341 "component": "main.js",
342 "componentLongName": "main.js",
343 "componentQualifier": "FIL",
344 "componentUuid": "foo1234",
345 "creationDate": "2017-03-01T09:36:01+0100",
348 "flowsWithType": Array [],
349 "key": "AVsae-CQS-9G3txfbFN2",
351 "message": "Reduce the number of conditional operators (4) used in the expression",
352 "project": "myproject",
354 "projectName": "Foo",
355 "rule": "javascript:S1067",
357 "secondaryLocations": Array [],
360 "textRange": Object {
366 "transitions": Array [],
370 onChange={[Function]}
371 togglePopup={[MockFunction]}
375 className="issue-meta"
383 "component": "main.js",
384 "componentLongName": "main.js",
385 "componentQualifier": "FIL",
386 "componentUuid": "foo1234",
387 "creationDate": "2017-03-01T09:36:01+0100",
390 "flowsWithType": Array [],
391 "key": "AVsae-CQS-9G3txfbFN2",
393 "message": "Reduce the number of conditional operators (4) used in the expression",
394 "project": "myproject",
396 "projectName": "Foo",
397 "rule": "javascript:S1067",
399 "secondaryLocations": Array [],
402 "textRange": Object {
408 "transitions": Array [],
412 onAssign={[MockFunction]}
413 togglePopup={[MockFunction]}
417 className="issue-meta"
420 className="issue-meta-label"
427 className="list-inline"
430 className="issue-meta js-issue-tags"
438 "component": "main.js",
439 "componentLongName": "main.js",
440 "componentQualifier": "FIL",
441 "componentUuid": "foo1234",
442 "creationDate": "2017-03-01T09:36:01+0100",
445 "flowsWithType": Array [],
446 "key": "AVsae-CQS-9G3txfbFN2",
448 "message": "Reduce the number of conditional operators (4) used in the expression",
449 "project": "myproject",
451 "projectName": "Foo",
452 "rule": "javascript:S1067",
454 "secondaryLocations": Array [],
457 "textRange": Object {
463 "transitions": Array [],
467 onChange={[MockFunction]}
468 togglePopup={[MockFunction]}
475 exports[`should render issue correctly 1`] = `
477 className="issue-actions"
480 className="issue-meta-list"
483 className="issue-meta"
491 "component": "main.js",
492 "componentLongName": "main.js",
493 "componentQualifier": "FIL",
494 "componentUuid": "foo1234",
495 "creationDate": "2017-03-01T09:36:01+0100",
497 "flowsWithType": Array [],
498 "key": "AVsae-CQS-9G3txfbFN2",
500 "message": "Reduce the number of conditional operators (4) used in the expression",
501 "project": "myproject",
503 "projectName": "Foo",
504 "rule": "javascript:S1067",
506 "secondaryLocations": Array [],
509 "textRange": Object {
515 "transitions": Array [],
519 setIssueProperty={[Function]}
520 togglePopup={[MockFunction]}
524 className="issue-meta"
527 canSetSeverity={false}
532 "component": "main.js",
533 "componentLongName": "main.js",
534 "componentQualifier": "FIL",
535 "componentUuid": "foo1234",
536 "creationDate": "2017-03-01T09:36:01+0100",
538 "flowsWithType": Array [],
539 "key": "AVsae-CQS-9G3txfbFN2",
541 "message": "Reduce the number of conditional operators (4) used in the expression",
542 "project": "myproject",
544 "projectName": "Foo",
545 "rule": "javascript:S1067",
547 "secondaryLocations": Array [],
550 "textRange": Object {
556 "transitions": Array [],
560 setIssueProperty={[Function]}
561 togglePopup={[MockFunction]}
565 className="issue-meta"
568 hasTransitions={false}
573 "component": "main.js",
574 "componentLongName": "main.js",
575 "componentQualifier": "FIL",
576 "componentUuid": "foo1234",
577 "creationDate": "2017-03-01T09:36:01+0100",
579 "flowsWithType": Array [],
580 "key": "AVsae-CQS-9G3txfbFN2",
582 "message": "Reduce the number of conditional operators (4) used in the expression",
583 "project": "myproject",
585 "projectName": "Foo",
586 "rule": "javascript:S1067",
588 "secondaryLocations": Array [],
591 "textRange": Object {
597 "transitions": Array [],
601 onChange={[Function]}
602 togglePopup={[MockFunction]}
606 className="issue-meta"
614 "component": "main.js",
615 "componentLongName": "main.js",
616 "componentQualifier": "FIL",
617 "componentUuid": "foo1234",
618 "creationDate": "2017-03-01T09:36:01+0100",
620 "flowsWithType": Array [],
621 "key": "AVsae-CQS-9G3txfbFN2",
623 "message": "Reduce the number of conditional operators (4) used in the expression",
624 "project": "myproject",
626 "projectName": "Foo",
627 "rule": "javascript:S1067",
629 "secondaryLocations": Array [],
632 "textRange": Object {
638 "transitions": Array [],
642 onAssign={[MockFunction]}
643 togglePopup={[MockFunction]}
648 className="list-inline"
651 className="issue-meta js-issue-tags"
659 "component": "main.js",
660 "componentLongName": "main.js",
661 "componentQualifier": "FIL",
662 "componentUuid": "foo1234",
663 "creationDate": "2017-03-01T09:36:01+0100",
665 "flowsWithType": Array [],
666 "key": "AVsae-CQS-9G3txfbFN2",
668 "message": "Reduce the number of conditional operators (4) used in the expression",
669 "project": "myproject",
671 "projectName": "Foo",
672 "rule": "javascript:S1067",
674 "secondaryLocations": Array [],
677 "textRange": Object {
683 "transitions": Array [],
687 onChange={[MockFunction]}
688 togglePopup={[MockFunction]}
695 exports[`should render security hotspot correctly 1`] = `
697 className="issue-actions"
700 className="issue-meta-list"
703 className="issue-meta"
711 "component": "main.js",
712 "componentLongName": "main.js",
713 "componentQualifier": "FIL",
714 "componentUuid": "foo1234",
715 "creationDate": "2017-03-01T09:36:01+0100",
717 "flowsWithType": Array [],
718 "key": "AVsae-CQS-9G3txfbFN2",
720 "message": "Reduce the number of conditional operators (4) used in the expression",
721 "project": "myproject",
723 "projectName": "Foo",
724 "rule": "javascript:S1067",
726 "secondaryLocations": Array [],
729 "textRange": Object {
735 "transitions": Array [],
736 "type": "SECURITY_HOTSPOT",
739 setIssueProperty={[Function]}
740 togglePopup={[MockFunction]}
744 className="issue-meta"
747 hasTransitions={false}
752 "component": "main.js",
753 "componentLongName": "main.js",
754 "componentQualifier": "FIL",
755 "componentUuid": "foo1234",
756 "creationDate": "2017-03-01T09:36:01+0100",
758 "flowsWithType": Array [],
759 "key": "AVsae-CQS-9G3txfbFN2",
761 "message": "Reduce the number of conditional operators (4) used in the expression",
762 "project": "myproject",
764 "projectName": "Foo",
765 "rule": "javascript:S1067",
767 "secondaryLocations": Array [],
770 "textRange": Object {
776 "transitions": Array [],
777 "type": "SECURITY_HOTSPOT",
780 onChange={[Function]}
781 togglePopup={[MockFunction]}
785 className="issue-meta"
793 "component": "main.js",
794 "componentLongName": "main.js",
795 "componentQualifier": "FIL",
796 "componentUuid": "foo1234",
797 "creationDate": "2017-03-01T09:36:01+0100",
799 "flowsWithType": Array [],
800 "key": "AVsae-CQS-9G3txfbFN2",
802 "message": "Reduce the number of conditional operators (4) used in the expression",
803 "project": "myproject",
805 "projectName": "Foo",
806 "rule": "javascript:S1067",
808 "secondaryLocations": Array [],
811 "textRange": Object {
817 "transitions": Array [],
818 "type": "SECURITY_HOTSPOT",
821 onAssign={[MockFunction]}
822 togglePopup={[MockFunction]}
827 className="list-inline"
830 className="issue-meta js-issue-tags"
838 "component": "main.js",
839 "componentLongName": "main.js",
840 "componentQualifier": "FIL",
841 "componentUuid": "foo1234",
842 "creationDate": "2017-03-01T09:36:01+0100",
844 "flowsWithType": Array [],
845 "key": "AVsae-CQS-9G3txfbFN2",
847 "message": "Reduce the number of conditional operators (4) used in the expression",
848 "project": "myproject",
850 "projectName": "Foo",
851 "rule": "javascript:S1067",
853 "secondaryLocations": Array [],
856 "textRange": Object {
862 "transitions": Array [],
863 "type": "SECURITY_HOTSPOT",
866 onChange={[MockFunction]}
867 togglePopup={[MockFunction]}