]> source.dussan.org Git - sonarqube.git/blob
da66d6be96bb4aee6f693e2f198be79275a8c30c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`changes select 1`] = `
4 <Modal
5   contentLabel="background_tasks.change_number_of_workers"
6   onRequestClose={[Function]}
7 >
8   <header
9     className="modal-head"
10   >
11     <h2>
12       background_tasks.change_number_of_workers
13     </h2>
14   </header>
15   <form
16     onSubmit={[Function]}
17   >
18     <div
19       className="modal-body"
20     >
21       <SelectLegacy
22         className="input-tiny spacer-top"
23         clearable={false}
24         onChange={[Function]}
25         options={
26           Array [
27             Object {
28               "label": "1",
29               "value": 1,
30             },
31             Object {
32               "label": "2",
33               "value": 2,
34             },
35             Object {
36               "label": "3",
37               "value": 3,
38             },
39             Object {
40               "label": "4",
41               "value": 4,
42             },
43             Object {
44               "label": "5",
45               "value": 5,
46             },
47             Object {
48               "label": "6",
49               "value": 6,
50             },
51             Object {
52               "label": "7",
53               "value": 7,
54             },
55             Object {
56               "label": "8",
57               "value": 8,
58             },
59             Object {
60               "label": "9",
61               "value": 9,
62             },
63             Object {
64               "label": "10",
65               "value": 10,
66             },
67           ]
68         }
69         searchable={false}
70         value={1}
71       />
72       <Alert
73         className="big-spacer-top"
74         variant="info"
75       >
76         background_tasks.change_number_of_workers.hint
77       </Alert>
78     </div>
79     <footer
80       className="modal-foot"
81     >
82       <div>
83         <SubmitButton
84           disabled={false}
85         >
86           save
87         </SubmitButton>
88         <ResetButtonLink
89           onClick={[Function]}
90         >
91           cancel
92         </ResetButtonLink>
93       </div>
94     </footer>
95   </form>
96 </Modal>
97 `;
98
99 exports[`changes select 2`] = `
100 <Modal
101   contentLabel="background_tasks.change_number_of_workers"
102   onRequestClose={[Function]}
103 >
104   <header
105     className="modal-head"
106   >
107     <h2>
108       background_tasks.change_number_of_workers
109     </h2>
110   </header>
111   <form
112     onSubmit={[Function]}
113   >
114     <div
115       className="modal-body"
116     >
117       <SelectLegacy
118         className="input-tiny spacer-top"
119         clearable={false}
120         onChange={[Function]}
121         options={
122           Array [
123             Object {
124               "label": "1",
125               "value": 1,
126             },
127             Object {
128               "label": "2",
129               "value": 2,
130             },
131             Object {
132               "label": "3",
133               "value": 3,
134             },
135             Object {
136               "label": "4",
137               "value": 4,
138             },
139             Object {
140               "label": "5",
141               "value": 5,
142             },
143             Object {
144               "label": "6",
145               "value": 6,
146             },
147             Object {
148               "label": "7",
149               "value": 7,
150             },
151             Object {
152               "label": "8",
153               "value": 8,
154             },
155             Object {
156               "label": "9",
157               "value": 9,
158             },
159             Object {
160               "label": "10",
161               "value": 10,
162             },
163           ]
164         }
165         searchable={false}
166         value={7}
167       />
168       <Alert
169         className="big-spacer-top"
170         variant="info"
171       >
172         background_tasks.change_number_of_workers.hint
173       </Alert>
174     </div>
175     <footer
176       className="modal-foot"
177     >
178       <div>
179         <SubmitButton
180           disabled={false}
181         >
182           save
183         </SubmitButton>
184         <ResetButtonLink
185           onClick={[Function]}
186         >
187           cancel
188         </ResetButtonLink>
189       </div>
190     </footer>
191   </form>
192 </Modal>
193 `;