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,
16 displayProjectName={true}
26 "duplicationDensity": "1.0",
31 "project": "my-project",
32 "projectName": "MyProject",
45 exports[`should render correctly: with sourcelines 1`] = `
47 className="bordered big-spacer-bottom"
49 <SourceViewerHeaderSlim
52 "analysisDate": "2018-01-01",
53 "excludedFromPurge": true,
58 displayProjectName={true}
68 "duplicationDensity": "1.0",
73 "project": "my-project",
74 "projectName": "MyProject",
87 "branchLike": Object {
88 "analysisDate": "2018-01-01",
89 "excludedFromPurge": true,
97 "duplicationDensity": "1.0",
101 "path": "foo/bar.ts",
102 "project": "my-project",
103 "projectName": "MyProject",
113 "analysisDate": "2018-01-01",
114 "excludedFromPurge": true,
124 "duplicationDensity": "1.0",
128 "path": "foo/bar.ts",
129 "project": "my-project",
130 "projectName": "MyProject",
136 expandBlock={[Function]}
137 handleCloseIssues={[Function]}
138 handleLinePopupToggle={[MockFunction]}
139 handleOpenIssues={[Function]}
140 handleSymbolClick={[MockFunction]}
141 highlightedSymbols={Array []}
145 "assignee": "assignee",
146 "assigneeUser": Object {
153 "authorUser": Object {
159 "canChangeStatus": true,
160 "changelog": Array [],
162 "component": Object {
163 "breadcrumbs": Array [],
166 "organization": "foo",
168 "qualityGate": Object {
173 "qualityProfiles": Array [
183 "creationDate": "2013-05-13T17:55:41+0200",
184 "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
186 "message": "'3' is a magic number.",
188 "breadcrumbs": Array [],
191 "organization": "foo",
193 "qualityGate": Object {
198 "qualityProfiles": Array [
208 "resolution": "FIXED",
210 "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
211 "key": "squid:S2077",
213 "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
214 "securityCategory": "sql-injection",
215 "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
216 "vulnerabilityProbability": "HIGH",
218 "status": "REVIEWED",
219 "textRange": Object {
225 "updateDate": "2013-05-13T17:55:42+0200",
242 issuesByLine={Object {}}
243 lastSnippetOfLastGroup={false}
244 loadDuplications={[Function]}
246 locationsByLine={Object {}}
247 onIssueChange={[Function]}
248 onIssuePopupToggle={[Function]}
249 onLocationSelect={[Function]}
250 openIssuesByLine={Object {}}
251 renderDuplicationPopup={[Function]}
255 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
256 "coverageStatus": "covered",
257 "coveredConditions": 2,
261 "scmAuthor": "simon.brandhof@sonarsource.com",
262 "scmDate": "2018-12-11T10:48:39+0100",
263 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",