1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`renderActions should disable the button when I am on a built-in profile: activate 1`] = `
5 className="coding-rule-table-meta-cell coding-rule-activation-actions"
8 overlay="coding_rules.need_extend_or_copy"
11 className="coding-rules-detail-quality-profile-deactivate button-red disabled"
19 exports[`renderActions should disable the button when I am on a built-in profile: deactivate 1`] = `
21 className="coding-rule-table-meta-cell coding-rule-activation-actions"
24 overlay="coding_rules.need_extend_or_copy"
27 className="coding-rules-detail-quality-profile-deactivate button-red disabled"
29 coding_rules.deactivate
35 exports[`renderActions should render the activate button 1`] = `
37 className="coding-rule-table-meta-cell coding-rule-activation-actions"
40 buttonText="coding_rules.activate"
41 className="coding-rules-detail-quality-profile-activate"
42 modalHeader="coding_rules.activate_in_quality_profile"
50 "activeDeprecatedRuleCount": 2,
51 "activeRuleCount": 10,
59 "languageName": "JavaScript",
68 "key": "javascript:S1067",
70 "langName": "JavaScript",
88 exports[`renderActions should render the deactivate button 1`] = `
90 className="coding-rule-table-meta-cell coding-rule-activation-actions"
93 confirmButtonText="yes"
94 modalBody="coding_rules.deactivate.confirm"
95 modalHeader="coding_rules.deactivate"
96 onConfirm={[Function]}
103 exports[`should render correctly: default 1`] = `
105 aria-selected={false}
106 className="coding-rule"
107 data-rule="javascript:S1067"
111 className="coding-rule-table"
117 className="coding-rule-title"
120 className="link-no-underline"
124 "pathname": "/coding_rules",
125 "search": "?open=javascript%3AS1067&rule_key=javascript%3AS1067",
134 className="coding-rule-table-meta-cell"
137 className="display-flex-center coding-rule-meta"
140 className="display-inline-flex-center spacer-left note"
145 overlay="coding_rules.type.tooltip.CODE_SMELL"
148 className="display-inline-flex-center spacer-left note"
154 className="little-spacer-left text-middle"
156 issue.type.CODE_SMELL
162 className="display-inline-flex-center note spacer-left"
172 onFilterChange={[MockFunction]}
175 "key": "javascript:S1067",
177 "langName": "JavaScript",
188 "type": "CODE_SMELL",
200 exports[`should render correctly: with activation 1`] = `
202 aria-selected={false}
203 className="coding-rule"
204 data-rule="javascript:S1067"
208 className="coding-rule-table"
214 className="coding-rule-title"
217 className="link-no-underline"
221 "pathname": "/coding_rules",
222 "search": "?open=javascript%3AS1067&rule_key=javascript%3AS1067",
231 className="coding-rule-table-meta-cell"
234 className="display-flex-center coding-rule-meta"
237 className="display-inline-flex-center spacer-left note"
242 overlay="coding_rules.type.tooltip.CODE_SMELL"
245 className="display-inline-flex-center spacer-left note"
251 className="little-spacer-left text-middle"
253 issue.type.CODE_SMELL
259 className="display-inline-flex-center note spacer-left"
269 onFilterChange={[MockFunction]}
272 "key": "javascript:S1067",
274 "langName": "JavaScript",
285 "type": "CODE_SMELL",