]> source.dussan.org Git - sonarqube.git/blob
8fe780fe0948c0f64952499f0d0c5dd556bf6002
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <div>
5   <SQScanner
6     os="win"
7   />
8   <h4
9     className="huge-spacer-top spacer-bottom"
10   >
11     onboarding.analysis.sq_scanner.execute
12   </h4>
13   <InstanceMessage
14     message="onboarding.analysis.sq_scanner.execute.text"
15   >
16     <Component />
17   </InstanceMessage>
18   <CodeSnippet
19     isOneLine={true}
20     snippet={
21       Array [
22         "sonar-scanner.bat",
23         "-D\\"sonar.projectKey=projectKey\\"",
24         undefined,
25         "-D\\"sonar.sources=.\\"",
26         "-D\\"sonar.host.url=host\\"",
27         "-D\\"sonar.login=token\\"",
28       ]
29     }
30   />
31   <p
32     className="big-spacer-top markdown"
33     dangerouslySetInnerHTML={
34       Object {
35         "__html": "onboarding.analysis.sq_scanner.docs",
36       }
37     }
38   />
39 </div>
40 `;
41
42 exports[`renders correctly 2`] = `
43 <div>
44   <SQScanner
45     os="linux"
46   />
47   <h4
48     className="huge-spacer-top spacer-bottom"
49   >
50     onboarding.analysis.sq_scanner.execute
51   </h4>
52   <InstanceMessage
53     message="onboarding.analysis.sq_scanner.execute.text"
54   >
55     <Component />
56   </InstanceMessage>
57   <CodeSnippet
58     isOneLine={false}
59     snippet={
60       Array [
61         "sonar-scanner",
62         "-Dsonar.projectKey=projectKey",
63         undefined,
64         "-Dsonar.sources=.",
65         "-Dsonar.host.url=host",
66         "-Dsonar.login=token",
67       ]
68     }
69   />
70   <p
71     className="big-spacer-top markdown"
72     dangerouslySetInnerHTML={
73       Object {
74         "__html": "onboarding.analysis.sq_scanner.docs",
75       }
76     }
77   />
78 </div>
79 `;
80
81 exports[`renders correctly 3`] = `
82 <div>
83   <SQScanner
84     os="linux"
85   />
86   <h4
87     className="huge-spacer-top spacer-bottom"
88   >
89     onboarding.analysis.sq_scanner.execute
90   </h4>
91   <InstanceMessage
92     message="onboarding.analysis.sq_scanner.execute.text"
93   >
94     <Component />
95   </InstanceMessage>
96   <CodeSnippet
97     isOneLine={false}
98     snippet={
99       Array [
100         "sonar-scanner",
101         "-Dsonar.projectKey=projectKey",
102         "-Dsonar.organization=organization",
103         "-Dsonar.sources=.",
104         "-Dsonar.host.url=host",
105         "-Dsonar.login=token",
106       ]
107     }
108   />
109   <p
110     className="big-spacer-top markdown"
111     dangerouslySetInnerHTML={
112       Object {
113         "__html": "onboarding.analysis.sq_scanner.docs",
114       }
115     }
116   />
117 </div>
118 `;