]> source.dussan.org Git - sonarqube.git/blob
0a5febfcea31ba289d07795a6339656eb64373cb
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render commentable correctly 1`] = `
4 <div
5   className="issue-actions"
6 >
7   <div
8     className="issue-meta-list"
9   >
10     <div
11       className="issue-meta"
12     >
13       <IssueType
14         canSetType={false}
15         isOpen={false}
16         issue={
17           {
18             "actions": [
19               "comment",
20             ],
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",
27             "flows": [],
28             "flowsWithType": [],
29             "key": "AVsae-CQS-9G3txfbFN2",
30             "line": 25,
31             "message": "Reduce the number of conditional operators (4) used in the expression",
32             "project": "myproject",
33             "projectKey": "foo",
34             "projectName": "Foo",
35             "rule": "javascript:S1067",
36             "ruleName": "foo",
37             "scope": "MAIN",
38             "secondaryLocations": [],
39             "severity": "MAJOR",
40             "status": "OPEN",
41             "textRange": {
42               "endLine": 26,
43               "endOffset": 15,
44               "startLine": 25,
45               "startOffset": 0,
46             },
47             "transitions": [],
48             "type": "BUG",
49           }
50         }
51         setIssueProperty={[Function]}
52         togglePopup={[MockFunction]}
53       />
54     </div>
55     <div
56       className="issue-meta"
57     >
58       <IssueSeverity
59         canSetSeverity={false}
60         isOpen={false}
61         issue={
62           {
63             "actions": [
64               "comment",
65             ],
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",
72             "flows": [],
73             "flowsWithType": [],
74             "key": "AVsae-CQS-9G3txfbFN2",
75             "line": 25,
76             "message": "Reduce the number of conditional operators (4) used in the expression",
77             "project": "myproject",
78             "projectKey": "foo",
79             "projectName": "Foo",
80             "rule": "javascript:S1067",
81             "ruleName": "foo",
82             "scope": "MAIN",
83             "secondaryLocations": [],
84             "severity": "MAJOR",
85             "status": "OPEN",
86             "textRange": {
87               "endLine": 26,
88               "endOffset": 15,
89               "startLine": 25,
90               "startOffset": 0,
91             },
92             "transitions": [],
93             "type": "BUG",
94           }
95         }
96         setIssueProperty={[Function]}
97         togglePopup={[MockFunction]}
98       />
99     </div>
100     <div
101       className="issue-meta"
102     >
103       <IssueTransition
104         hasTransitions={false}
105         isOpen={false}
106         issue={
107           {
108             "actions": [
109               "comment",
110             ],
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",
117             "flows": [],
118             "flowsWithType": [],
119             "key": "AVsae-CQS-9G3txfbFN2",
120             "line": 25,
121             "message": "Reduce the number of conditional operators (4) used in the expression",
122             "project": "myproject",
123             "projectKey": "foo",
124             "projectName": "Foo",
125             "rule": "javascript:S1067",
126             "ruleName": "foo",
127             "scope": "MAIN",
128             "secondaryLocations": [],
129             "severity": "MAJOR",
130             "status": "OPEN",
131             "textRange": {
132               "endLine": 26,
133               "endOffset": 15,
134               "startLine": 25,
135               "startOffset": 0,
136             },
137             "transitions": [],
138             "type": "BUG",
139           }
140         }
141         onChange={[Function]}
142         togglePopup={[MockFunction]}
143       />
144     </div>
145     <div
146       className="issue-meta"
147     >
148       <IssueAssign
149         canAssign={false}
150         isOpen={false}
151         issue={
152           {
153             "actions": [
154               "comment",
155             ],
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",
162             "flows": [],
163             "flowsWithType": [],
164             "key": "AVsae-CQS-9G3txfbFN2",
165             "line": 25,
166             "message": "Reduce the number of conditional operators (4) used in the expression",
167             "project": "myproject",
168             "projectKey": "foo",
169             "projectName": "Foo",
170             "rule": "javascript:S1067",
171             "ruleName": "foo",
172             "scope": "MAIN",
173             "secondaryLocations": [],
174             "severity": "MAJOR",
175             "status": "OPEN",
176             "textRange": {
177               "endLine": 26,
178               "endOffset": 15,
179               "startLine": 25,
180               "startOffset": 0,
181             },
182             "transitions": [],
183             "type": "BUG",
184           }
185         }
186         onAssign={[MockFunction]}
187         togglePopup={[MockFunction]}
188       />
189     </div>
190     <IssueCommentAction
191       canComment={true}
192       commentAutoTriggered={false}
193       commentPlaceholder=""
194       issueKey="AVsae-CQS-9G3txfbFN2"
195       onChange={[MockFunction]}
196       toggleComment={[Function]}
197     />
198   </div>
199   <div
200     className="list-inline"
201   >
202     <div
203       className="issue-meta js-issue-tags"
204     >
205       <IssueTags
206         canSetTags={false}
207         isOpen={false}
208         issue={
209           {
210             "actions": [
211               "comment",
212             ],
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",
219             "flows": [],
220             "flowsWithType": [],
221             "key": "AVsae-CQS-9G3txfbFN2",
222             "line": 25,
223             "message": "Reduce the number of conditional operators (4) used in the expression",
224             "project": "myproject",
225             "projectKey": "foo",
226             "projectName": "Foo",
227             "rule": "javascript:S1067",
228             "ruleName": "foo",
229             "scope": "MAIN",
230             "secondaryLocations": [],
231             "severity": "MAJOR",
232             "status": "OPEN",
233             "textRange": {
234               "endLine": 26,
235               "endOffset": 15,
236               "startLine": 25,
237               "startOffset": 0,
238             },
239             "transitions": [],
240             "type": "BUG",
241           }
242         }
243         onChange={[MockFunction]}
244         togglePopup={[MockFunction]}
245       />
246     </div>
247   </div>
248 </div>
249 `;
250
251 exports[`should render effort correctly 1`] = `
252 <div
253   className="issue-actions"
254 >
255   <div
256     className="issue-meta-list"
257   >
258     <div
259       className="issue-meta"
260     >
261       <IssueType
262         canSetType={false}
263         isOpen={false}
264         issue={
265           {
266             "actions": [],
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",
273             "effort": "great",
274             "flows": [],
275             "flowsWithType": [],
276             "key": "AVsae-CQS-9G3txfbFN2",
277             "line": 25,
278             "message": "Reduce the number of conditional operators (4) used in the expression",
279             "project": "myproject",
280             "projectKey": "foo",
281             "projectName": "Foo",
282             "rule": "javascript:S1067",
283             "ruleName": "foo",
284             "scope": "MAIN",
285             "secondaryLocations": [],
286             "severity": "MAJOR",
287             "status": "OPEN",
288             "textRange": {
289               "endLine": 26,
290               "endOffset": 15,
291               "startLine": 25,
292               "startOffset": 0,
293             },
294             "transitions": [],
295             "type": "BUG",
296           }
297         }
298         setIssueProperty={[Function]}
299         togglePopup={[MockFunction]}
300       />
301     </div>
302     <div
303       className="issue-meta"
304     >
305       <IssueSeverity
306         canSetSeverity={false}
307         isOpen={false}
308         issue={
309           {
310             "actions": [],
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",
317             "effort": "great",
318             "flows": [],
319             "flowsWithType": [],
320             "key": "AVsae-CQS-9G3txfbFN2",
321             "line": 25,
322             "message": "Reduce the number of conditional operators (4) used in the expression",
323             "project": "myproject",
324             "projectKey": "foo",
325             "projectName": "Foo",
326             "rule": "javascript:S1067",
327             "ruleName": "foo",
328             "scope": "MAIN",
329             "secondaryLocations": [],
330             "severity": "MAJOR",
331             "status": "OPEN",
332             "textRange": {
333               "endLine": 26,
334               "endOffset": 15,
335               "startLine": 25,
336               "startOffset": 0,
337             },
338             "transitions": [],
339             "type": "BUG",
340           }
341         }
342         setIssueProperty={[Function]}
343         togglePopup={[MockFunction]}
344       />
345     </div>
346     <div
347       className="issue-meta"
348     >
349       <IssueTransition
350         hasTransitions={false}
351         isOpen={false}
352         issue={
353           {
354             "actions": [],
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",
361             "effort": "great",
362             "flows": [],
363             "flowsWithType": [],
364             "key": "AVsae-CQS-9G3txfbFN2",
365             "line": 25,
366             "message": "Reduce the number of conditional operators (4) used in the expression",
367             "project": "myproject",
368             "projectKey": "foo",
369             "projectName": "Foo",
370             "rule": "javascript:S1067",
371             "ruleName": "foo",
372             "scope": "MAIN",
373             "secondaryLocations": [],
374             "severity": "MAJOR",
375             "status": "OPEN",
376             "textRange": {
377               "endLine": 26,
378               "endOffset": 15,
379               "startLine": 25,
380               "startOffset": 0,
381             },
382             "transitions": [],
383             "type": "BUG",
384           }
385         }
386         onChange={[Function]}
387         togglePopup={[MockFunction]}
388       />
389     </div>
390     <div
391       className="issue-meta"
392     >
393       <IssueAssign
394         canAssign={false}
395         isOpen={false}
396         issue={
397           {
398             "actions": [],
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",
405             "effort": "great",
406             "flows": [],
407             "flowsWithType": [],
408             "key": "AVsae-CQS-9G3txfbFN2",
409             "line": 25,
410             "message": "Reduce the number of conditional operators (4) used in the expression",
411             "project": "myproject",
412             "projectKey": "foo",
413             "projectName": "Foo",
414             "rule": "javascript:S1067",
415             "ruleName": "foo",
416             "scope": "MAIN",
417             "secondaryLocations": [],
418             "severity": "MAJOR",
419             "status": "OPEN",
420             "textRange": {
421               "endLine": 26,
422               "endOffset": 15,
423               "startLine": 25,
424               "startOffset": 0,
425             },
426             "transitions": [],
427             "type": "BUG",
428           }
429         }
430         onAssign={[MockFunction]}
431         togglePopup={[MockFunction]}
432       />
433     </div>
434     <div
435       className="issue-meta"
436     >
437       <span
438         className="issue-meta-label"
439       >
440         issue.x_effort.great
441       </span>
442     </div>
443   </div>
444   <div
445     className="list-inline"
446   >
447     <div
448       className="issue-meta js-issue-tags"
449     >
450       <IssueTags
451         canSetTags={false}
452         isOpen={false}
453         issue={
454           {
455             "actions": [],
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",
462             "effort": "great",
463             "flows": [],
464             "flowsWithType": [],
465             "key": "AVsae-CQS-9G3txfbFN2",
466             "line": 25,
467             "message": "Reduce the number of conditional operators (4) used in the expression",
468             "project": "myproject",
469             "projectKey": "foo",
470             "projectName": "Foo",
471             "rule": "javascript:S1067",
472             "ruleName": "foo",
473             "scope": "MAIN",
474             "secondaryLocations": [],
475             "severity": "MAJOR",
476             "status": "OPEN",
477             "textRange": {
478               "endLine": 26,
479               "endOffset": 15,
480               "startLine": 25,
481               "startOffset": 0,
482             },
483             "transitions": [],
484             "type": "BUG",
485           }
486         }
487         onChange={[MockFunction]}
488         togglePopup={[MockFunction]}
489       />
490     </div>
491   </div>
492 </div>
493 `;
494
495 exports[`should render issue correctly 1`] = `
496 <div
497   className="issue-actions"
498 >
499   <div
500     className="issue-meta-list"
501   >
502     <div
503       className="issue-meta"
504     >
505       <IssueType
506         canSetType={false}
507         isOpen={false}
508         issue={
509           {
510             "actions": [],
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",
517             "flows": [],
518             "flowsWithType": [],
519             "key": "AVsae-CQS-9G3txfbFN2",
520             "line": 25,
521             "message": "Reduce the number of conditional operators (4) used in the expression",
522             "project": "myproject",
523             "projectKey": "foo",
524             "projectName": "Foo",
525             "rule": "javascript:S1067",
526             "ruleName": "foo",
527             "scope": "MAIN",
528             "secondaryLocations": [],
529             "severity": "MAJOR",
530             "status": "OPEN",
531             "textRange": {
532               "endLine": 26,
533               "endOffset": 15,
534               "startLine": 25,
535               "startOffset": 0,
536             },
537             "transitions": [],
538             "type": "BUG",
539           }
540         }
541         setIssueProperty={[Function]}
542         togglePopup={[MockFunction]}
543       />
544     </div>
545     <div
546       className="issue-meta"
547     >
548       <IssueSeverity
549         canSetSeverity={false}
550         isOpen={false}
551         issue={
552           {
553             "actions": [],
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",
560             "flows": [],
561             "flowsWithType": [],
562             "key": "AVsae-CQS-9G3txfbFN2",
563             "line": 25,
564             "message": "Reduce the number of conditional operators (4) used in the expression",
565             "project": "myproject",
566             "projectKey": "foo",
567             "projectName": "Foo",
568             "rule": "javascript:S1067",
569             "ruleName": "foo",
570             "scope": "MAIN",
571             "secondaryLocations": [],
572             "severity": "MAJOR",
573             "status": "OPEN",
574             "textRange": {
575               "endLine": 26,
576               "endOffset": 15,
577               "startLine": 25,
578               "startOffset": 0,
579             },
580             "transitions": [],
581             "type": "BUG",
582           }
583         }
584         setIssueProperty={[Function]}
585         togglePopup={[MockFunction]}
586       />
587     </div>
588     <div
589       className="issue-meta"
590     >
591       <IssueTransition
592         hasTransitions={false}
593         isOpen={false}
594         issue={
595           {
596             "actions": [],
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",
603             "flows": [],
604             "flowsWithType": [],
605             "key": "AVsae-CQS-9G3txfbFN2",
606             "line": 25,
607             "message": "Reduce the number of conditional operators (4) used in the expression",
608             "project": "myproject",
609             "projectKey": "foo",
610             "projectName": "Foo",
611             "rule": "javascript:S1067",
612             "ruleName": "foo",
613             "scope": "MAIN",
614             "secondaryLocations": [],
615             "severity": "MAJOR",
616             "status": "OPEN",
617             "textRange": {
618               "endLine": 26,
619               "endOffset": 15,
620               "startLine": 25,
621               "startOffset": 0,
622             },
623             "transitions": [],
624             "type": "BUG",
625           }
626         }
627         onChange={[Function]}
628         togglePopup={[MockFunction]}
629       />
630     </div>
631     <div
632       className="issue-meta"
633     >
634       <IssueAssign
635         canAssign={false}
636         isOpen={false}
637         issue={
638           {
639             "actions": [],
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",
646             "flows": [],
647             "flowsWithType": [],
648             "key": "AVsae-CQS-9G3txfbFN2",
649             "line": 25,
650             "message": "Reduce the number of conditional operators (4) used in the expression",
651             "project": "myproject",
652             "projectKey": "foo",
653             "projectName": "Foo",
654             "rule": "javascript:S1067",
655             "ruleName": "foo",
656             "scope": "MAIN",
657             "secondaryLocations": [],
658             "severity": "MAJOR",
659             "status": "OPEN",
660             "textRange": {
661               "endLine": 26,
662               "endOffset": 15,
663               "startLine": 25,
664               "startOffset": 0,
665             },
666             "transitions": [],
667             "type": "BUG",
668           }
669         }
670         onAssign={[MockFunction]}
671         togglePopup={[MockFunction]}
672       />
673     </div>
674   </div>
675   <div
676     className="list-inline"
677   >
678     <div
679       className="issue-meta js-issue-tags"
680     >
681       <IssueTags
682         canSetTags={false}
683         isOpen={false}
684         issue={
685           {
686             "actions": [],
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",
693             "flows": [],
694             "flowsWithType": [],
695             "key": "AVsae-CQS-9G3txfbFN2",
696             "line": 25,
697             "message": "Reduce the number of conditional operators (4) used in the expression",
698             "project": "myproject",
699             "projectKey": "foo",
700             "projectName": "Foo",
701             "rule": "javascript:S1067",
702             "ruleName": "foo",
703             "scope": "MAIN",
704             "secondaryLocations": [],
705             "severity": "MAJOR",
706             "status": "OPEN",
707             "textRange": {
708               "endLine": 26,
709               "endOffset": 15,
710               "startLine": 25,
711               "startOffset": 0,
712             },
713             "transitions": [],
714             "type": "BUG",
715           }
716         }
717         onChange={[MockFunction]}
718         togglePopup={[MockFunction]}
719       />
720     </div>
721   </div>
722 </div>
723 `;
724
725 exports[`should render security hotspot correctly 1`] = `
726 <div
727   className="issue-actions"
728 >
729   <div
730     className="issue-meta-list"
731   >
732     <div
733       className="issue-meta"
734     >
735       <IssueType
736         canSetType={false}
737         isOpen={false}
738         issue={
739           {
740             "actions": [],
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",
747             "flows": [],
748             "flowsWithType": [],
749             "key": "AVsae-CQS-9G3txfbFN2",
750             "line": 25,
751             "message": "Reduce the number of conditional operators (4) used in the expression",
752             "project": "myproject",
753             "projectKey": "foo",
754             "projectName": "Foo",
755             "rule": "javascript:S1067",
756             "ruleName": "foo",
757             "scope": "MAIN",
758             "secondaryLocations": [],
759             "severity": "MAJOR",
760             "status": "OPEN",
761             "textRange": {
762               "endLine": 26,
763               "endOffset": 15,
764               "startLine": 25,
765               "startOffset": 0,
766             },
767             "transitions": [],
768             "type": "SECURITY_HOTSPOT",
769           }
770         }
771         setIssueProperty={[Function]}
772         togglePopup={[MockFunction]}
773       />
774     </div>
775     <div
776       className="issue-meta"
777     >
778       <IssueTransition
779         hasTransitions={false}
780         isOpen={false}
781         issue={
782           {
783             "actions": [],
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",
790             "flows": [],
791             "flowsWithType": [],
792             "key": "AVsae-CQS-9G3txfbFN2",
793             "line": 25,
794             "message": "Reduce the number of conditional operators (4) used in the expression",
795             "project": "myproject",
796             "projectKey": "foo",
797             "projectName": "Foo",
798             "rule": "javascript:S1067",
799             "ruleName": "foo",
800             "scope": "MAIN",
801             "secondaryLocations": [],
802             "severity": "MAJOR",
803             "status": "OPEN",
804             "textRange": {
805               "endLine": 26,
806               "endOffset": 15,
807               "startLine": 25,
808               "startOffset": 0,
809             },
810             "transitions": [],
811             "type": "SECURITY_HOTSPOT",
812           }
813         }
814         onChange={[Function]}
815         togglePopup={[MockFunction]}
816       />
817     </div>
818     <div
819       className="issue-meta"
820     >
821       <IssueAssign
822         canAssign={false}
823         isOpen={false}
824         issue={
825           {
826             "actions": [],
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",
833             "flows": [],
834             "flowsWithType": [],
835             "key": "AVsae-CQS-9G3txfbFN2",
836             "line": 25,
837             "message": "Reduce the number of conditional operators (4) used in the expression",
838             "project": "myproject",
839             "projectKey": "foo",
840             "projectName": "Foo",
841             "rule": "javascript:S1067",
842             "ruleName": "foo",
843             "scope": "MAIN",
844             "secondaryLocations": [],
845             "severity": "MAJOR",
846             "status": "OPEN",
847             "textRange": {
848               "endLine": 26,
849               "endOffset": 15,
850               "startLine": 25,
851               "startOffset": 0,
852             },
853             "transitions": [],
854             "type": "SECURITY_HOTSPOT",
855           }
856         }
857         onAssign={[MockFunction]}
858         togglePopup={[MockFunction]}
859       />
860     </div>
861   </div>
862   <div
863     className="list-inline"
864   >
865     <div
866       className="issue-meta js-issue-tags"
867     >
868       <IssueTags
869         canSetTags={false}
870         isOpen={false}
871         issue={
872           {
873             "actions": [],
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",
880             "flows": [],
881             "flowsWithType": [],
882             "key": "AVsae-CQS-9G3txfbFN2",
883             "line": 25,
884             "message": "Reduce the number of conditional operators (4) used in the expression",
885             "project": "myproject",
886             "projectKey": "foo",
887             "projectName": "Foo",
888             "rule": "javascript:S1067",
889             "ruleName": "foo",
890             "scope": "MAIN",
891             "secondaryLocations": [],
892             "severity": "MAJOR",
893             "status": "OPEN",
894             "textRange": {
895               "endLine": 26,
896               "endOffset": 15,
897               "startLine": 25,
898               "startOffset": 0,
899             },
900             "transitions": [],
901             "type": "SECURITY_HOTSPOT",
902           }
903         }
904         onChange={[MockFunction]}
905         togglePopup={[MockFunction]}
906       />
907     </div>
908   </div>
909 </div>
910 `;