1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: changed value 1`] = `
5 className="settings-definition settings-definition-changed"
9 className="settings-definition-left"
12 className="settings-definition-name"
15 className="settings-definition-key note little-spacer-top"
21 className="settings-definition-right"
24 className="settings-definition-state"
30 hasValueChanged={true}
31 onCancel={[MockFunction]}
32 onChange={[MockFunction]}
33 onSave={[MockFunction]}
36 "definition": Object {
37 "category": "foo category",
41 "subCategory": "foo subCat",
50 changedValue="new value"
52 hasValueChanged={true}
54 onCancel={[MockFunction]}
55 onReset={[MockFunction]}
56 onSave={[MockFunction]}
59 "definition": Object {
60 "category": "foo category",
64 "subCategory": "foo subCat",
76 exports[`should render correctly: in error 1`] = `
78 className="settings-definition"
82 className="settings-definition-left"
85 className="settings-definition-name"
88 className="settings-definition-key note little-spacer-top"
94 className="settings-definition-right"
97 className="settings-definition-state"
100 className="text-danger"
103 className="spacer-right"
106 settings.state.validation_failed.validation message
111 onSubmit={[Function]}
114 hasValueChanged={false}
115 onCancel={[MockFunction]}
116 onChange={[MockFunction]}
117 onSave={[MockFunction]}
120 "definition": Object {
121 "category": "foo category",
125 "subCategory": "foo subCat",
134 hasValueChanged={false}
136 onCancel={[MockFunction]}
137 onReset={[MockFunction]}
138 onSave={[MockFunction]}
141 "definition": Object {
142 "category": "foo category",
146 "subCategory": "foo subCat",
158 exports[`should render correctly: loading 1`] = `
160 className="settings-definition"
164 className="settings-definition-left"
167 className="settings-definition-name"
170 className="settings-definition-key note little-spacer-top"
176 className="settings-definition-right"
179 className="settings-definition-state"
182 className="text-info"
185 className="spinner spacer-right"
187 settings.state.saving
191 onSubmit={[Function]}
194 hasValueChanged={false}
195 onCancel={[MockFunction]}
196 onChange={[MockFunction]}
197 onSave={[MockFunction]}
200 "definition": Object {
201 "category": "foo category",
205 "subCategory": "foo subCat",
214 hasValueChanged={false}
216 onCancel={[MockFunction]}
217 onReset={[MockFunction]}
218 onSave={[MockFunction]}
221 "definition": Object {
222 "category": "foo category",
226 "subCategory": "foo subCat",
238 exports[`should render correctly: original value 1`] = `
240 className="settings-definition"
244 className="settings-definition-left"
247 className="settings-definition-name"
250 className="settings-definition-key note little-spacer-top"
256 className="settings-definition-right"
259 className="settings-definition-state"
262 onSubmit={[Function]}
265 hasValueChanged={false}
266 onCancel={[MockFunction]}
267 onChange={[MockFunction]}
268 onSave={[MockFunction]}
271 "definition": Object {
272 "category": "foo category",
276 "subCategory": "foo subCat",
280 "value": "original value",
283 value="original value"
287 hasValueChanged={false}
289 onCancel={[MockFunction]}
290 onReset={[MockFunction]}
291 onSave={[MockFunction]}
294 "definition": Object {
295 "category": "foo category",
299 "subCategory": "foo subCat",
303 "value": "original value",
312 exports[`should render correctly: success 1`] = `
314 className="settings-definition"
318 className="settings-definition-left"
321 className="settings-definition-name"
324 className="settings-definition-key note little-spacer-top"
330 className="settings-definition-right"
333 className="settings-definition-state"
336 className="text-success"
339 className="spacer-right"
345 onSubmit={[Function]}
348 hasValueChanged={false}
349 onCancel={[MockFunction]}
350 onChange={[MockFunction]}
351 onSave={[MockFunction]}
354 "definition": Object {
355 "category": "foo category",
359 "subCategory": "foo subCat",
368 hasValueChanged={false}
370 onCancel={[MockFunction]}
371 onReset={[MockFunction]}
372 onSave={[MockFunction]}
375 "definition": Object {
376 "category": "foo category",
380 "subCategory": "foo subCat",
392 exports[`should render correctly: with description 1`] = `
394 className="settings-definition"
398 className="settings-definition-left"
401 className="settings-definition-name"
404 className="markdown small spacer-top"
405 dangerouslySetInnerHTML={
407 "__html": "description",
412 className="settings-definition-key note little-spacer-top"
418 className="settings-definition-right"
421 className="settings-definition-state"
424 onSubmit={[Function]}
427 hasValueChanged={false}
428 onCancel={[MockFunction]}
429 onChange={[MockFunction]}
430 onSave={[MockFunction]}
433 "definition": Object {
434 "category": "foo category",
435 "description": "description",
439 "subCategory": "foo subCat",
448 hasValueChanged={false}
450 onCancel={[MockFunction]}
451 onReset={[MockFunction]}
452 onSave={[MockFunction]}
455 "definition": Object {
456 "category": "foo category",
457 "description": "description",
461 "subCategory": "foo subCat",