1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
6 className="spacer-bottom"
8 hotspots.no_associated_lines
11 className="bordered big-spacer-bottom"
13 <SourceViewerHeaderSlim
16 "analysisDate": "2018-01-01",
17 "excludedFromPurge": true,
22 displayProjectName={true}
32 "duplicationDensity": "1.0",
37 "project": "my-project",
38 "projectName": "MyProject",
51 exports[`should render correctly: with sourcelines 1`] = `
54 className="bordered big-spacer-bottom"
56 <SourceViewerHeaderSlim
59 "analysisDate": "2018-01-01",
60 "excludedFromPurge": true,
65 displayProjectName={true}
75 "duplicationDensity": "1.0",
80 "project": "my-project",
81 "projectName": "MyProject",
93 "branchLike": Object {
94 "analysisDate": "2018-01-01",
95 "excludedFromPurge": true,
103 "duplicationDensity": "1.0",
107 "path": "foo/bar.ts",
108 "project": "my-project",
109 "projectName": "MyProject",
119 "analysisDate": "2018-01-01",
120 "excludedFromPurge": true,
130 "duplicationDensity": "1.0",
134 "path": "foo/bar.ts",
135 "project": "my-project",
136 "projectName": "MyProject",
142 expandBlock={[Function]}
143 handleCloseIssues={[Function]}
144 handleOpenIssues={[Function]}
145 handleSymbolClick={[MockFunction]}
146 highlightedSymbols={Array []}
150 "assignee": "assignee",
151 "assigneeUser": Object {
158 "authorUser": Object {
164 "canChangeStatus": true,
165 "changelog": Array [],
167 "component": Object {
168 "breadcrumbs": Array [],
172 "qualityGate": Object {
177 "qualityProfiles": Array [
187 "creationDate": "2013-05-13T17:55:41+0200",
188 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
190 "message": "'3' is a magic number.",
192 "breadcrumbs": Array [],
196 "qualityGate": Object {
201 "qualityProfiles": Array [
211 "resolution": "FIXED",
213 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
214 "key": "squid:S2077",
216 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
217 "securityCategory": "sql-injection",
218 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
219 "vulnerabilityProbability": "HIGH",
221 "status": "REVIEWED",
222 "textRange": Object {
228 "updateDate": "2013-05-13T17:55:42+0200",
245 issuesByLine={Object {}}
246 lastSnippetOfLastGroup={false}
248 locationsByLine={Object {}}
249 onIssueChange={[Function]}
250 onIssuePopupToggle={[Function]}
251 onLocationSelect={[Function]}
252 openIssuesByLine={Object {}}
253 renderDuplicationPopup={[Function]}
257 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
258 "coverageStatus": "covered",
259 "coveredConditions": 2,
263 "scmAuthor": "simon.brandhof@sonarsource.com",
264 "scmDate": "2018-12-11T10:48:39+0100",
265 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",