]> source.dussan.org Git - sonarqube.git/blob
f086eb31184a9829b60f89569d047ea88eb35fbd
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: create 1`] = `
4 <AlmBindingDefinitionFormRenderer
5   alm="github"
6   canSubmit={false}
7   formData={
8     {
9       "appId": "",
10       "clientId": "",
11       "clientSecret": "",
12       "key": "",
13       "privateKey": "",
14       "url": "",
15       "webhookSecret": "",
16     }
17   }
18   isUpdate={false}
19   onBitbucketVariantChange={[Function]}
20   onCancel={[Function]}
21   onFieldChange={[Function]}
22   onSubmit={[Function]}
23   submitting={false}
24 />
25 `;
26
27 exports[`should render correctly: edit 1`] = `
28 <AlmBindingDefinitionFormRenderer
29   alm="github"
30   canSubmit={false}
31   formData={
32     {
33       "appId": "123456",
34       "clientId": "client1",
35       "clientSecret": "**clientsecret**",
36       "key": "key",
37       "privateKey": "asdf1234",
38       "url": "http://github.enterprise.com",
39       "webhookSecret": "verySecretText!!",
40     }
41   }
42   isUpdate={true}
43   onBitbucketVariantChange={[Function]}
44   onCancel={[Function]}
45   onFieldChange={[Function]}
46   onSubmit={[Function]}
47   submitting={false}
48 />
49 `;