]> source.dussan.org Git - sonarqube.git/blob
3353ed9aa59fe230b61a4c14a546b1912dcb517a
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should handle formatting for invalid JSON 1`] = `
4 <div
5   className="display-flex-end"
6 >
7   <textarea
8     className="settings-large-input text-top monospaced spacer-right"
9     name="foo"
10     onChange={[Function]}
11     rows={5}
12     value="{"a": 1b}"
13   />
14   <div>
15     <Alert
16       variant="info"
17     >
18       settings.json.format_error
19        
20     </Alert>
21     <Button
22       className="spacer-top"
23       onClick={[Function]}
24     >
25       settings.json.format
26     </Button>
27   </div>
28 </div>
29 `;
30
31 exports[`should render correctly 1`] = `
32 <div
33   className="display-flex-end"
34 >
35   <textarea
36     className="settings-large-input text-top monospaced spacer-right"
37     name="foo"
38     onChange={[Function]}
39     rows={5}
40     value=""
41   />
42   <div>
43     <Button
44       className="spacer-top"
45       onClick={[Function]}
46     >
47       settings.json.format
48     </Button>
49   </div>
50 </div>
51 `;