1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: custom rule 1`] = `
6 onRequestClose={[MockFunction]}
13 className="modal-head"
20 className="modal-body"
25 coding_rules.active_in_all_profiles
28 className="modal-field"
31 id="coding-rules-quality-profile-select-label"
33 coding_rules.quality_profile
36 aria-labelledby="coding-rules-quality-profile-select-label"
37 getOptionLabel={[Function]}
38 id="coding-rules-quality-profile-select"
46 className="modal-field"
49 id="coding-rules-severity-select"
54 ariaLabelledby="coding-rules-severity-select"
61 className="modal-field"
66 coding_rules.custom_rule.activation_notice
71 className="modal-foot"
80 onClick={[MockFunction]}
89 exports[`should render correctly: default 1`] = `
92 onRequestClose={[MockFunction]}
99 className="modal-head"
106 className="modal-body modal-container"
111 coding_rules.active_in_all_profiles
114 className="modal-field"
117 id="coding-rules-quality-profile-select-label"
119 coding_rules.quality_profile
122 aria-labelledby="coding-rules-quality-profile-select-label"
123 getOptionLabel={[Function]}
124 id="coding-rules-quality-profile-select"
127 onChange={[Function]}
132 className="modal-field"
135 id="coding-rules-severity-select"
140 ariaLabelledby="coding-rules-severity-select"
142 onChange={[Function]}
147 className="modal-field"
158 onChange={[Function]}
165 dangerouslySetInnerHTML={
167 "__html": "description",
173 className="modal-field"
184 onChange={[Function]}
192 className="modal-foot"
197 coding_rules.activate
201 onClick={[MockFunction]}
210 exports[`should render correctly: submitting 1`] = `
213 onRequestClose={[MockFunction]}
217 onSubmit={[Function]}
220 className="modal-head"
227 className="modal-body modal-container"
232 coding_rules.active_in_all_profiles
235 className="modal-field"
238 id="coding-rules-quality-profile-select-label"
240 coding_rules.quality_profile
243 aria-labelledby="coding-rules-quality-profile-select-label"
244 getOptionLabel={[Function]}
245 id="coding-rules-quality-profile-select"
248 onChange={[Function]}
253 className="modal-field"
256 id="coding-rules-severity-select"
261 ariaLabelledby="coding-rules-severity-select"
263 onChange={[Function]}
268 className="modal-field"
279 onChange={[Function]}
286 dangerouslySetInnerHTML={
288 "__html": "description",
294 className="modal-field"
305 onChange={[Function]}
313 className="modal-foot"
316 className="spinner spacer-right"
321 coding_rules.activate
325 onClick={[MockFunction]}
334 exports[`should render correctly: update mode 1`] = `
337 onRequestClose={[MockFunction]}
341 onSubmit={[Function]}
344 className="modal-head"
351 className="modal-body modal-container"
354 className="modal-field"
357 id="coding-rules-quality-profile-select-label"
359 coding_rules.quality_profile
362 aria-labelledby="coding-rules-quality-profile-select-label"
363 getOptionLabel={[Function]}
364 id="coding-rules-quality-profile-select"
367 onChange={[Function]}
372 className="modal-field"
375 id="coding-rules-severity-select"
380 ariaLabelledby="coding-rules-severity-select"
382 onChange={[Function]}
387 className="modal-field"
398 onChange={[Function]}
405 dangerouslySetInnerHTML={
407 "__html": "description",
413 className="modal-field"
424 onChange={[Function]}
432 className="modal-foot"
441 onClick={[MockFunction]}
450 exports[`should render correctly: with deep profiles 1`] = `
453 onRequestClose={[MockFunction]}
457 onSubmit={[Function]}
460 className="modal-head"
467 className="modal-body modal-container"
470 className="modal-field"
473 id="coding-rules-quality-profile-select-label"
475 coding_rules.quality_profile
478 aria-labelledby="coding-rules-quality-profile-select-label"
479 getOptionLabel={[Function]}
480 id="coding-rules-quality-profile-select"
483 onChange={[Function]}
490 "activeDeprecatedRuleCount": 2,
491 "activeRuleCount": 10,
496 "isInherited": false,
499 "languageName": "JavaScript",
510 "activeDeprecatedRuleCount": 2,
511 "activeRuleCount": 10,
516 "isInherited": false,
519 "languageName": "JavaScript",
527 className="modal-field"
530 id="coding-rules-severity-select"
535 ariaLabelledby="coding-rules-severity-select"
537 onChange={[Function]}
542 className="modal-field"
553 onChange={[Function]}
560 dangerouslySetInnerHTML={
562 "__html": "description",
568 className="modal-field"
579 onChange={[Function]}
587 className="modal-foot"
592 coding_rules.activate
596 onClick={[MockFunction]}