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