]> source.dussan.org Git - sonarqube.git/blob
f44d6a3ed56ab1f33e298c02527e0158a8ae1d04
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <div
5   className="issue-message"
6 >
7   <span
8     className="spacer-right"
9   >
10     Reduce the number of conditional operators (4) used in the expression
11   </span>
12   <ButtonLink
13     aria-label="issue.why_this_issue.long"
14     className="issue-see-rule spacer-right text-baseline"
15     onClick={[Function]}
16   >
17     issue.why_this_issue
18   </ButtonLink>
19 </div>
20 `;
21
22 exports[`should render correctly: is manual vulnerability 1`] = `
23 <div
24   className="issue-message"
25 >
26   <span
27     className="spacer-right"
28   >
29     Reduce the number of conditional operators (4) used in the expression
30   </span>
31   <ButtonLink
32     aria-label="issue.why_this_issue.long"
33     className="issue-see-rule spacer-right text-baseline"
34     onClick={[Function]}
35   >
36     issue.why_this_issue
37   </ButtonLink>
38   <Tooltip
39     overlay="issue.manual_vulnerability.description"
40   >
41     <div
42       className="badge spacer-right text-baseline"
43     >
44       issue.manual_vulnerability
45     </div>
46   </Tooltip>
47 </div>
48 `;
49
50 exports[`should render correctly: with engine info 1`] = `
51 <div
52   className="issue-message"
53 >
54   <span
55     className="spacer-right"
56   >
57     Reduce the number of conditional operators (4) used in the expression
58   </span>
59   <ButtonLink
60     aria-label="issue.why_this_issue.long"
61     className="issue-see-rule spacer-right text-baseline"
62     onClick={[Function]}
63   >
64     issue.why_this_issue
65   </ButtonLink>
66   <Tooltip
67     overlay="issue.from_external_rule_engine.js"
68   >
69     <div
70       className="badge spacer-right text-baseline"
71     >
72       js
73     </div>
74   </Tooltip>
75 </div>
76 `;
77
78 exports[`should render correctly: with engine name 1`] = `
79 <div
80   className="issue-message"
81 >
82   <span
83     className="spacer-right"
84   >
85     Reduce the number of conditional operators (4) used in the expression
86   </span>
87   <ButtonLink
88     aria-label="issue.why_this_issue.long"
89     className="issue-see-rule spacer-right text-baseline"
90     onClick={[Function]}
91   >
92     issue.why_this_issue
93   </ButtonLink>
94   <Tooltip
95     overlay="issue.from_external_rule_engine.JS"
96   >
97     <div
98       className="badge spacer-right text-baseline"
99     >
100       JS
101     </div>
102   </Tooltip>
103 </div>
104 `;