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"
33 coding_rules.quality_profile
36 aria-labelledby="coding-rules-quality-profile-select"
37 className="js-profile"
38 getOptionLabel={[Function]}
46 className="modal-field"
49 id="coding-rules-severity-select"
54 aria-labelledby="coding-rules-severity-select"
55 className="js-severity"
59 "SingleValue": [Function],
69 "label": "severity.BLOCKER",
73 "label": "severity.CRITICAL",
77 "label": "severity.MAJOR",
81 "label": "severity.MINOR",
85 "label": "severity.INFO",
92 "label": "severity.MAJOR",
99 className="modal-field"
104 coding_rules.custom_rule.activation_notice
109 className="modal-foot"
114 coding_rules.activate
118 onClick={[MockFunction]}
127 exports[`should render correctly: default 1`] = `
130 onRequestClose={[MockFunction]}
134 onSubmit={[Function]}
137 className="modal-head"
144 className="modal-body modal-container"
149 coding_rules.active_in_all_profiles
152 className="modal-field"
155 id="coding-rules-quality-profile-select"
157 coding_rules.quality_profile
160 aria-labelledby="coding-rules-quality-profile-select"
161 className="js-profile"
162 getOptionLabel={[Function]}
165 onChange={[Function]}
170 className="modal-field"
173 id="coding-rules-severity-select"
178 aria-labelledby="coding-rules-severity-select"
179 className="js-severity"
182 "Option": [Function],
183 "SingleValue": [Function],
189 onChange={[Function]}
193 "label": "severity.BLOCKER",
197 "label": "severity.CRITICAL",
201 "label": "severity.MAJOR",
205 "label": "severity.MINOR",
209 "label": "severity.INFO",
216 "label": "severity.MAJOR",
223 className="modal-field"
234 onChange={[Function]}
241 dangerouslySetInnerHTML={
243 "__html": "description",
249 className="modal-field"
260 onChange={[Function]}
268 className="modal-foot"
273 coding_rules.activate
277 onClick={[MockFunction]}
286 exports[`should render correctly: submitting 1`] = `
289 onRequestClose={[MockFunction]}
293 onSubmit={[Function]}
296 className="modal-head"
303 className="modal-body modal-container"
308 coding_rules.active_in_all_profiles
311 className="modal-field"
314 id="coding-rules-quality-profile-select"
316 coding_rules.quality_profile
319 aria-labelledby="coding-rules-quality-profile-select"
320 className="js-profile"
321 getOptionLabel={[Function]}
324 onChange={[Function]}
329 className="modal-field"
332 id="coding-rules-severity-select"
337 aria-labelledby="coding-rules-severity-select"
338 className="js-severity"
341 "Option": [Function],
342 "SingleValue": [Function],
348 onChange={[Function]}
352 "label": "severity.BLOCKER",
356 "label": "severity.CRITICAL",
360 "label": "severity.MAJOR",
364 "label": "severity.MINOR",
368 "label": "severity.INFO",
375 "label": "severity.MAJOR",
382 className="modal-field"
393 onChange={[Function]}
400 dangerouslySetInnerHTML={
402 "__html": "description",
408 className="modal-field"
419 onChange={[Function]}
427 className="modal-foot"
430 className="spinner spacer-right"
435 coding_rules.activate
439 onClick={[MockFunction]}
448 exports[`should render correctly: update mode 1`] = `
451 onRequestClose={[MockFunction]}
455 onSubmit={[Function]}
458 className="modal-head"
465 className="modal-body modal-container"
468 className="modal-field"
471 id="coding-rules-quality-profile-select"
473 coding_rules.quality_profile
476 aria-labelledby="coding-rules-quality-profile-select"
477 className="js-profile"
478 getOptionLabel={[Function]}
481 onChange={[Function]}
486 className="modal-field"
489 id="coding-rules-severity-select"
494 aria-labelledby="coding-rules-severity-select"
495 className="js-severity"
498 "Option": [Function],
499 "SingleValue": [Function],
505 onChange={[Function]}
509 "label": "severity.BLOCKER",
513 "label": "severity.CRITICAL",
517 "label": "severity.MAJOR",
521 "label": "severity.MINOR",
525 "label": "severity.INFO",
532 "label": "severity.MAJOR",
539 className="modal-field"
550 onChange={[Function]}
557 dangerouslySetInnerHTML={
559 "__html": "description",
565 className="modal-field"
576 onChange={[Function]}
584 className="modal-foot"
593 onClick={[MockFunction]}
602 exports[`should render correctly: with deep profiles 1`] = `
605 onRequestClose={[MockFunction]}
609 onSubmit={[Function]}
612 className="modal-head"
619 className="modal-body modal-container"
622 className="modal-field"
625 id="coding-rules-quality-profile-select"
627 coding_rules.quality_profile
630 aria-labelledby="coding-rules-quality-profile-select"
631 className="js-profile"
632 getOptionLabel={[Function]}
635 onChange={[Function]}
642 "activeDeprecatedRuleCount": 2,
643 "activeRuleCount": 10,
648 "isInherited": false,
651 "languageName": "JavaScript",
662 "activeDeprecatedRuleCount": 2,
663 "activeRuleCount": 10,
668 "isInherited": false,
671 "languageName": "JavaScript",
679 className="modal-field"
682 id="coding-rules-severity-select"
687 aria-labelledby="coding-rules-severity-select"
688 className="js-severity"
691 "Option": [Function],
692 "SingleValue": [Function],
698 onChange={[Function]}
702 "label": "severity.BLOCKER",
706 "label": "severity.CRITICAL",
710 "label": "severity.MAJOR",
714 "label": "severity.MINOR",
718 "label": "severity.INFO",
725 "label": "severity.MAJOR",
732 className="modal-field"
743 onChange={[Function]}
750 dangerouslySetInnerHTML={
752 "__html": "description",
758 className="modal-field"
769 onChange={[Function]}
777 className="modal-foot"
782 coding_rules.activate
786 onClick={[MockFunction]}