]> source.dussan.org Git - sonarqube.git/blob
99c2341cba2e1272cd346a97caf2461092ca83c4
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: create 1`] = `
4 <Fragment>
5   <AlmBindingDefinitionFormField
6     autoFocus={true}
7     help="settings.almintegration.form.name.azure.help"
8     id="name.azure"
9     onFieldChange={[MockFunction]}
10     propKey="key"
11     value=""
12   />
13   <AlmBindingDefinitionFormField
14     help={
15       <React.Fragment>
16         settings.almintegration.form.url.azure.help
17         <br />
18         <em>
19           https://ado.your-company.com/
20         </em>
21       </React.Fragment>
22     }
23     id="url.azure"
24     maxLength={2000}
25     onFieldChange={[MockFunction]}
26     propKey="url"
27     value=""
28   />
29   <AlmBindingDefinitionFormField
30     help="settings.almintegration.form.personal_access_token.azure.help"
31     id="personal_access_token"
32     isTextArea={true}
33     onFieldChange={[MockFunction]}
34     propKey="personalAccessToken"
35     value=""
36   />
37 </Fragment>
38 `;
39
40 exports[`should render correctly: edit 1`] = `
41 <Fragment>
42   <AlmBindingDefinitionFormField
43     autoFocus={true}
44     help="settings.almintegration.form.name.azure.help"
45     id="name.azure"
46     onFieldChange={[MockFunction]}
47     propKey="key"
48     value="key"
49   />
50   <AlmBindingDefinitionFormField
51     help={
52       <React.Fragment>
53         settings.almintegration.form.url.azure.help
54         <br />
55         <em>
56           https://ado.your-company.com/
57         </em>
58       </React.Fragment>
59     }
60     id="url.azure"
61     maxLength={2000}
62     onFieldChange={[MockFunction]}
63     propKey="url"
64     value=""
65   />
66   <AlmBindingDefinitionFormField
67     help="settings.almintegration.form.personal_access_token.azure.help"
68     id="personal_access_token"
69     isTextArea={true}
70     onFieldChange={[MockFunction]}
71     propKey="personalAccessToken"
72     value="asdf1234"
73   />
74 </Fragment>
75 `;