]> source.dussan.org Git - sonarqube.git/blob
0750e70fdd451d94d377d71c25ad3ab06d96ebb3
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display the fallback avatar when there is no url 1`] = `
4 <ValidationInput
5   description="onboarding.create_organization.avatar.description"
6   id="organization-avatar"
7   isInvalid={false}
8   isValid={false}
9   label="onboarding.create_organization.avatar"
10 >
11   <OrganizationAvatar
12     className="display-block spacer-bottom"
13     organization={
14       Object {
15         "avatar": undefined,
16         "name": "Luke Skywalker",
17       }
18     }
19   />
20   <input
21     className="input-super-large text-middle"
22     id="organization-display-name"
23     onBlur={[Function]}
24     onChange={[Function]}
25     onFocus={[Function]}
26     placeholder="onboarding.create_organization.avatar.placeholder"
27     type="text"
28     value=""
29   />
30 </ValidationInput>
31 `;
32
33 exports[`should render correctly 1`] = `
34 <ValidationInput
35   description="onboarding.create_organization.avatar.description"
36   id="organization-avatar"
37   isInvalid={false}
38   isValid={false}
39   label="onboarding.create_organization.avatar"
40 >
41   <OrganizationAvatar
42     className="display-block spacer-bottom"
43     organization={
44       Object {
45         "avatar": "https://my.avatar",
46         "name": "",
47       }
48     }
49   />
50   <input
51     className="input-super-large text-middle"
52     id="organization-display-name"
53     onBlur={[Function]}
54     onChange={[Function]}
55     onFocus={[Function]}
56     placeholder="onboarding.create_organization.avatar.placeholder"
57     type="text"
58     value="https://my.avatar"
59   />
60 </ValidationInput>
61 `;
62
63 exports[`should render correctly 2`] = `true`;