]> source.dussan.org Git - sonarqube.git/blob
56ac708fb5365cbf017d6b68f9e612f261e88198
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render content correctly 1`] = `
4 <ShowOrganizationsToTransferOrDelete
5   organizations={
6     Array [
7       Object {
8         "key": "luke-leia",
9         "name": "Luke and Leia",
10       },
11     ]
12   }
13 />
14 `;
15
16 exports[`should render content correctly 2`] = `
17 <ShowOrganizations
18   className="my-class"
19   organizations={
20     Array [
21       Object {
22         "key": "luke",
23         "name": "Luke Skywalker",
24       },
25     ]
26   }
27 />
28 `;
29
30 exports[`should render correctly ShowOrganizations 1`] = `
31 <ul>
32   <li
33     className="spacer-bottom"
34   >
35     my_profile.delete_account.info
36   </li>
37   <li
38     className="spacer-bottom"
39   >
40     <FormattedMessage
41       defaultMessage="my_profile.delete_account.data.info"
42       id="my_profile.delete_account.data.info"
43       values={
44         Object {
45           "help": <a
46             href="/documentation/user-guide/user-account/#delete-your-user-account"
47             rel="noopener noreferrer"
48             target="_blank"
49           >
50             learn_more
51           </a>,
52         }
53       }
54     />
55   </li>
56   <li
57     className="spacer-bottom"
58   >
59     <FormattedMessage
60       defaultMessage="my_profile.delete_account.info.orgs.members"
61       id="my_profile.delete_account.info.orgs.members"
62       values={
63         Object {
64           "organizations": <React.Fragment>
65             <span>
66               <Link
67                 onlyActiveOnIndex={false}
68                 style={Object {}}
69                 to="/organizations/luke"
70               >
71                 Luke Skywalker
72               </Link>
73             </span>
74           </React.Fragment>,
75         }
76       }
77     />
78   </li>
79 </ul>
80 `;
81
82 exports[`should render correctly ShowOrganizationsToTransferOrDelete 1`] = `
83 <Fragment>
84   <p
85     className="big-spacer-bottom"
86   >
87     <FormattedMessage
88       defaultMessage="my_profile.delete_account.info.orgs_to_transfer_or_delete"
89       id="my_profile.delete_account.info.orgs_to_transfer_or_delete"
90       values={
91         Object {
92           "organizations": <React.Fragment>
93             <span>
94               <Link
95                 onlyActiveOnIndex={false}
96                 style={Object {}}
97                 to="/organizations/luke-leia"
98               >
99                 Luke and Leia
100               </Link>
101             </span>
102           </React.Fragment>,
103         }
104       }
105     />
106   </p>
107   <Alert
108     className="big-spacer-bottom"
109     variant="warning"
110   >
111     <FormattedMessage
112       defaultMessage="my_profile.delete_account.info.orgs_to_transfer_or_delete.info"
113       id="my_profile.delete_account.info.orgs_to_transfer_or_delete.info"
114       values={
115         Object {
116           "link": <a
117             href="https://sieg.eu.ngrok.io/documentation/organizations/overview/#how-to-transfer-ownership-of-an-organization"
118             rel="noopener noreferrer"
119             target="_blank"
120           >
121             my_profile.delete_account.info.orgs_to_transfer_or_delete.info.link
122           </a>,
123         }
124       }
125     />
126   </Alert>
127 </Fragment>
128 `;