]> source.dussan.org Git - sonarqube.git/blob
6ae40e3ac21edda82bc1960fac8a8e3ab5362ec4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Fragment>
5   <AlmBindingDefinitionFormField
6     autoFocus={true}
7     help="settings.almintegration.form.name.github.help"
8     id="name.github"
9     onFieldChange={[MockFunction]}
10     propKey="key"
11     value=""
12   />
13   <AlmBindingDefinitionFormField
14     help={
15       <React.Fragment>
16         settings.almintegration.form.url.github.help1
17         <br />
18         <em>
19           https://github.company.com/api/v3
20         </em>
21         <br />
22         <br />
23         settings.almintegration.form.url.github.help2
24         <br />
25         <em>
26           https://api.github.com/
27         </em>
28       </React.Fragment>
29     }
30     id="url.github"
31     maxLength={2000}
32     onFieldChange={[MockFunction]}
33     propKey="url"
34     value=""
35   />
36   <AlmBindingDefinitionFormField
37     id="app_id"
38     maxLength={80}
39     onFieldChange={[MockFunction]}
40     propKey="appId"
41     value=""
42   />
43   <AlmBindingDefinitionFormField
44     id="client_id"
45     maxLength={80}
46     onFieldChange={[MockFunction]}
47     propKey="clientId"
48     value=""
49   />
50   <AlmBindingDefinitionFormField
51     id="client_secret"
52     maxLength={80}
53     onFieldChange={[MockFunction]}
54     overwriteOnly={false}
55     propKey="clientSecret"
56     value=""
57   />
58   <AlmBindingDefinitionFormField
59     id="private_key"
60     isTextArea={true}
61     onFieldChange={[MockFunction]}
62     overwriteOnly={false}
63     propKey="privateKey"
64     value=""
65   />
66 </Fragment>
67 `;
68
69 exports[`should render correctly 2`] = `
70 <Fragment>
71   <AlmBindingDefinitionFormField
72     autoFocus={true}
73     help="settings.almintegration.form.name.github.help"
74     id="name.github"
75     onFieldChange={[MockFunction]}
76     propKey="key"
77     value="key"
78   />
79   <AlmBindingDefinitionFormField
80     help={
81       <React.Fragment>
82         settings.almintegration.form.url.github.help1
83         <br />
84         <em>
85           https://github.company.com/api/v3
86         </em>
87         <br />
88         <br />
89         settings.almintegration.form.url.github.help2
90         <br />
91         <em>
92           https://api.github.com/
93         </em>
94       </React.Fragment>
95     }
96     id="url.github"
97     maxLength={2000}
98     onFieldChange={[MockFunction]}
99     propKey="url"
100     value="http://github.enterprise.com"
101   />
102   <AlmBindingDefinitionFormField
103     id="app_id"
104     maxLength={80}
105     onFieldChange={[MockFunction]}
106     propKey="appId"
107     value="123456"
108   />
109   <AlmBindingDefinitionFormField
110     id="client_id"
111     maxLength={80}
112     onFieldChange={[MockFunction]}
113     propKey="clientId"
114     value="client1"
115   />
116   <AlmBindingDefinitionFormField
117     id="client_secret"
118     maxLength={80}
119     onFieldChange={[MockFunction]}
120     overwriteOnly={true}
121     propKey="clientSecret"
122     value="**clientsecret**"
123   />
124   <AlmBindingDefinitionFormField
125     id="private_key"
126     isTextArea={true}
127     onFieldChange={[MockFunction]}
128     overwriteOnly={true}
129     propKey="privateKey"
130     value="asdf1234"
131   />
132 </Fragment>
133 `;