1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: default 1`] = `
6 className="display-inline-flex-center issue-message break-word"
9 className="spacer-right"
11 Reduce the number of conditional operators (4) used in the expression
15 aria-label="issue.why_this_issue.long"
16 className="issue-see-rule spacer-right text-baseline"
24 exports[`should render correctly: is deprecated rule 1`] = `
27 className="display-inline-flex-center issue-message break-word"
30 className="spacer-right"
32 Reduce the number of conditional operators (4) used in the expression
35 className="spacer-left"
36 content="rules.status.DEPRECATED.help"
40 "href": "/documentation/user-guide/rules/",
41 "label": "see_x.rules",
47 className="spacer-right badge badge-error"
49 rules.status.DEPRECATED
51 </DocumentationTooltip>
54 aria-label="issue.why_this_issue.long"
55 className="issue-see-rule spacer-right text-baseline"
63 exports[`should render correctly: is manual vulnerability 1`] = `
66 className="display-inline-flex-center issue-message break-word"
69 className="spacer-right"
71 Reduce the number of conditional operators (4) used in the expression
74 overlay="issue.manual_vulnerability.description"
77 className="badge spacer-right text-baseline"
79 issue.manual_vulnerability
84 aria-label="issue.why_this_issue.long"
85 className="issue-see-rule spacer-right text-baseline"
93 exports[`should render correctly: is removed rule 1`] = `
96 className="display-inline-flex-center issue-message break-word"
99 className="spacer-right"
101 Reduce the number of conditional operators (4) used in the expression
103 <DocumentationTooltip
104 className="spacer-left"
105 content="rules.status.REMOVED.help"
109 "href": "/documentation/user-guide/rules/",
110 "label": "see_x.rules",
116 className="spacer-right badge badge-error"
118 issue.resolution.REMOVED.rule_removed
120 </DocumentationTooltip>
123 aria-label="issue.why_this_issue.long"
124 className="issue-see-rule spacer-right text-baseline"
132 exports[`should render correctly: with engine info 1`] = `
135 className="display-inline-flex-center issue-message break-word"
138 className="spacer-right"
140 Reduce the number of conditional operators (4) used in the expression
143 overlay="issue.from_external_rule_engine.js"
146 className="badge spacer-right text-baseline"
153 aria-label="issue.why_this_issue.long"
154 className="issue-see-rule spacer-right text-baseline"
162 exports[`should render correctly: with engine name 1`] = `
165 className="display-inline-flex-center issue-message break-word"
168 className="spacer-right"
170 Reduce the number of conditional operators (4) used in the expression
173 overlay="issue.from_external_rule_engine.JS"
176 className="badge spacer-right text-baseline"
183 aria-label="issue.why_this_issue.long"
184 className="issue-see-rule spacer-right text-baseline"
192 exports[`should render correctly: with quick fix 1`] = `
195 className="display-inline-flex-center issue-message break-word"
198 className="spacer-right"
200 Reduce the number of conditional operators (4) used in the expression
203 mouseLeaveDelay={0.5}
206 defaultMessage="issue.quick_fix_available_with_sonarlint"
207 id="issue.quick_fix_available_with_sonarlint"
211 href="https://www.sonarqube.org/sonarlint/?referrer=sonarqube-quick-fix"
212 rel="noopener noreferrer"
223 className="it__issues-sonarlint-quick-fix spacer-right"
229 aria-label="issue.why_this_issue.long"
230 className="issue-see-rule spacer-right text-baseline"