]> source.dussan.org Git - sonarqube.git/blob
5caa5c39114d1081baf397d70319f3b0e4fd27d6
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: default 1`] = `
4 <Fragment>
5   <div
6     className="page-header big-spacer-bottom"
7   >
8     <h2
9       className="page-title"
10     >
11       onboarding.project_analysis.header
12     </h2>
13     <p
14       className="page-description"
15     >
16       <InstanceMessage
17         message="onboarding.project_analysis.description"
18       />
19     </p>
20   </div>
21   <TokenStep
22     currentUser={
23       {
24         "dismissedNotices": {
25           "educationPrinciples": false,
26         },
27         "groups": [],
28         "isLoggedIn": true,
29         "login": "luke",
30         "name": "Skywalker",
31         "scmAccounts": [],
32       }
33     }
34     finished={false}
35     initialTokenName="Analyze "MyProject""
36     onContinue={[Function]}
37     onOpen={[Function]}
38     open={true}
39     projectKey="my-project"
40     stepNumber={1}
41   />
42   <ProjectAnalysisStep
43     baseUrl="http://example.com"
44     component={
45       {
46         "breadcrumbs": [],
47         "key": "my-project",
48         "name": "MyProject",
49         "qualifier": "TRK",
50         "qualityGate": {
51           "isDefault": true,
52           "key": "30",
53           "name": "Sonar way",
54         },
55         "qualityProfiles": [
56           {
57             "deleted": false,
58             "key": "my-qp",
59             "language": "ts",
60             "name": "Sonar way",
61           },
62         ],
63         "tags": [],
64       }
65     }
66     isLocal={false}
67     open={false}
68     stepNumber={2}
69   />
70 </Fragment>
71 `;