]> source.dussan.org Git - sonarqube.git/blob
5888278c63db2de3116bc4c55d889d96fb03b04c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <Modal
5   contentLabel="onboarding.header"
6   medium={true}
7   onRequestClose={[MockFunction]}
8   shouldCloseOnOverlayClick={false}
9 >
10   <div
11     className="modal-simple-head text-center"
12   >
13     <h1>
14       onboarding.header
15     </h1>
16     <p
17       className="spacer-top"
18     >
19       onboarding.header.description
20     </p>
21   </div>
22   <div
23     className="modal-simple-body text-center onboarding-choices"
24   >
25     <Button
26       className="onboarding-choice"
27       onClick={[Function]}
28     >
29       <OnboardingProjectIcon
30         className="big-spacer-bottom"
31       />
32       <h6
33         className="onboarding-choice-name"
34       >
35         onboarding.analyze_public_code
36       </h6>
37       <p
38         className="note"
39       >
40         onboarding.analyze_public_code.note
41       </p>
42     </Button>
43     <Button
44       className="onboarding-choice"
45       onClick={[MockFunction]}
46     >
47       <OnboardingPrivateIcon
48         className="big-spacer-bottom"
49       />
50       <h6
51         className="onboarding-choice-name"
52       >
53         onboarding.analyze_private_code
54       </h6>
55       <p
56         className="note"
57       >
58         onboarding.analyze_private_code.note
59       </p>
60     </Button>
61     <Button
62       className="onboarding-choice"
63       onClick={[MockFunction]}
64     >
65       <OnboardingTeamIcon
66         className="big-spacer-bottom"
67       />
68       <h6
69         className="onboarding-choice-name"
70       >
71         onboarding.contribute_existing_project
72       </h6>
73       <p
74         className="note"
75       >
76         onboarding.contribute_existing_project.note
77       </p>
78     </Button>
79   </div>
80   <div
81     className="modal-simple-footer text-center"
82   >
83     <ResetButtonLink
84       className="spacer-bottom"
85       onClick={[MockFunction]}
86     >
87       not_now
88     </ResetButtonLink>
89     <p
90       className="note"
91     >
92       onboarding.footer
93     </p>
94   </div>
95 </Modal>
96 `;