1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
5 className="bordered big-spacer-bottom"
7 <SourceViewerHeaderSlim
10 "analysisDate": "2018-01-01",
11 "excludedFromPurge": true,
24 "duplicationDensity": "1.0",
29 "project": "my-project",
30 "projectName": "MyProject",
43 exports[`should render correctly: with sourcelines 1`] = `
45 className="bordered big-spacer-bottom"
47 <SourceViewerHeaderSlim
50 "analysisDate": "2018-01-01",
51 "excludedFromPurge": true,
64 "duplicationDensity": "1.0",
69 "project": "my-project",
70 "projectName": "MyProject",
83 "branchLike": Object {
84 "analysisDate": "2018-01-01",
85 "excludedFromPurge": true,
93 "duplicationDensity": "1.0",
98 "project": "my-project",
99 "projectName": "MyProject",
109 "analysisDate": "2018-01-01",
110 "excludedFromPurge": true,
120 "duplicationDensity": "1.0",
124 "path": "foo/bar.ts",
125 "project": "my-project",
126 "projectName": "MyProject",
131 expandBlock={[Function]}
132 handleCloseIssues={[Function]}
133 handleLinePopupToggle={[MockFunction]}
134 handleOpenIssues={[Function]}
135 handleSymbolClick={[MockFunction]}
136 highlightedSymbols={Array []}
152 "component": Object {
153 "breadcrumbs": Array [],
156 "organization": "foo",
158 "qualityGate": Object {
163 "qualityProfiles": Array [
173 "creationDate": "2013-05-13T17:55:41+0200",
174 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
176 "message": "'3' is a magic number.",
178 "breadcrumbs": Array [],
181 "organization": "foo",
183 "qualityGate": Object {
188 "qualityProfiles": Array [
198 "resolution": "FIXED",
200 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
201 "key": "squid:S2077",
203 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
204 "securityCategory": "sql-injection",
205 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
206 "vulnerabilityProbability": "HIGH",
208 "status": "REVIEWED",
209 "textRange": Object {
215 "updateDate": "2013-05-13T17:55:42+0200",
218 issuesByLine={Object {}}
220 loadDuplications={[Function]}
222 locationsByLine={Object {}}
223 onIssueChange={[Function]}
224 onIssuePopupToggle={[Function]}
225 onLocationSelect={[Function]}
226 openIssuesByLine={Object {}}
227 renderDuplicationPopup={[Function]}
231 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
232 "coverageStatus": "covered",
233 "coveredConditions": 2,
237 "scmAuthor": "simon.brandhof@sonarsource.com",
238 "scmDate": "2018-12-11T10:48:39+0100",
239 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",