]> source.dussan.org Git - sonarqube.git/blob
810c4081524d4fbde05093aaf1e8440ff381a26d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <DeferredSpinner
5   loading={true}
6 >
7   <p
8     className="page-description"
9   >
10     <FormattedMessage
11       defaultMessage="project_branch_pull_request.lifetime_information"
12       id="project_branch_pull_request.lifetime_information"
13       values={
14         Object {
15           "days": "30",
16         }
17       }
18     />
19   </p>
20 </DeferredSpinner>
21 `;
22
23 exports[`should render correctly if not lifetime has been fetch 1`] = `
24 <DeferredSpinner
25   loading={true}
26 />
27 `;
28
29 exports[`should render correctly when user is admin 1`] = `
30 <DeferredSpinner
31   loading={true}
32 >
33   <p
34     className="page-description"
35   >
36     <FormattedMessage
37       defaultMessage="project_branch_pull_request.lifetime_information"
38       id="project_branch_pull_request.lifetime_information"
39       values={
40         Object {
41           "days": "30",
42         }
43       }
44     />
45     <FormattedMessage
46       defaultMessage="project_branch_pull_request.lifetime_information.admin"
47       id="project_branch_pull_request.lifetime_information.admin"
48       values={
49         Object {
50           "settings": <Link
51             to="/admin/settings"
52           >
53             settings.page
54           </Link>,
55         }
56       }
57     />
58   </p>
59 </DeferredSpinner>
60 `;