]> source.dussan.org Git - sonarqube.git/blob
8711c8e646b85f1bbd558aefc77b2a3103843295
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: default 1`] = `
4 <div>
5   <AzureProjectAccordion
6     key="azure-project-1"
7     loading={false}
8     onOpen={[MockFunction]}
9     project={
10       Object {
11         "key": "azure-project-1",
12         "name": "Azure Project",
13       }
14     }
15     repositories={Array []}
16     startsOpen={true}
17   />
18   <ListFooter
19     count={1}
20     loadMore={[Function]}
21     total={1}
22   />
23 </div>
24 `;
25
26 exports[`should render correctly: empty 1`] = `
27 <Alert
28   className="spacer-top"
29   variant="warning"
30 >
31   <FormattedMessage
32     defaultMessage="onboarding.create_project.azure.no_projects"
33     id="onboarding.create_project.azure.no_projects"
34     values={
35       Object {
36         "link": <Link
37           onlyActiveOnIndex={false}
38           style={Object {}}
39           to={
40             Object {
41               "pathname": "/projects/create",
42               "query": Object {
43                 "mode": "azure",
44                 "resetPat": 1,
45               },
46             }
47           }
48         >
49           onboarding.create_project.update_your_token
50         </Link>,
51       }
52     }
53   />
54 </Alert>
55 `;