]> source.dussan.org Git - sonarqube.git/blob
e12787f70fda87e771e9bbc327c571908c1cc3bb
[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/DefaultCollection
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     overwriteOnly={false}
35     propKey="personalAccessToken"
36     value=""
37   />
38 </Fragment>
39 `;
40
41 exports[`should render correctly: edit 1`] = `
42 <Fragment>
43   <AlmBindingDefinitionFormField
44     autoFocus={true}
45     help="settings.almintegration.form.name.azure.help"
46     id="name.azure"
47     onFieldChange={[MockFunction]}
48     propKey="key"
49     value="key"
50   />
51   <AlmBindingDefinitionFormField
52     help={
53       <React.Fragment>
54         settings.almintegration.form.url.azure.help
55         <br />
56         <em>
57           https://ado.your-company.com/DefaultCollection
58         </em>
59       </React.Fragment>
60     }
61     id="url.azure"
62     maxLength={2000}
63     onFieldChange={[MockFunction]}
64     propKey="url"
65     value=""
66   />
67   <AlmBindingDefinitionFormField
68     help="settings.almintegration.form.personal_access_token.azure.help"
69     id="personal_access_token"
70     isTextArea={true}
71     onFieldChange={[MockFunction]}
72     overwriteOnly={true}
73     propKey="personalAccessToken"
74     value="asdf1234"
75   />
76 </Fragment>
77 `;