1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should handle duplication popup 1`] = `
9 exports[`should render correctly 1`] = `
17 exports[`should render correctly 2`] = `
19 <ComponentSourceSnippetViewer
23 "component": "main.js",
24 "componentLongName": "main.js",
25 "componentQualifier": "FIL",
26 "componentUuid": "foo1234",
27 "creationDate": "2017-03-01T09:36:01+0100",
31 "component": "main.js",
40 "component": "main.js",
49 "component": "main.js",
60 "component": "main.js",
69 "component": "main.js",
82 "message": "Reduce the number of conditional operators (4) used in the expression",
83 "organization": "myorg",
84 "project": "myproject",
87 "projectOrganization": "org",
88 "rule": "javascript:S1067",
90 "secondaryLocations": Array [
92 "component": "main.js",
101 "component": "main.js",
102 "textRange": Object {
112 "textRange": Object {
118 "transitions": Array [],
122 issuesByLine={Object {}}
125 loadDuplications={[Function]}
129 "component": "main.js",
131 "textRange": Object {
140 onIssueChange={[MockFunction]}
141 onIssuePopupToggle={[Function]}
142 onLinePopupToggle={[Function]}
143 onLocationSelect={[MockFunction]}
144 renderDuplicationPopup={[Function]}
145 scroll={[MockFunction]}
148 "component": Object {
152 "duplicationDensity": "1.0",
157 "project": "my-project",
158 "projectName": "MyProject",
164 "component": "main.js",
166 "textRange": Object {
176 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
177 "coverageStatus": "covered",
178 "coveredConditions": 2,
182 "scmAuthor": "simon.brandhof@sonarsource.com",
183 "scmDate": "2018-12-11T10:48:39+0100",
184 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",