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`] = `
23 "branchLike": undefined,
28 "duplicationDensity": "1.0",
33 "project": "my-project",
34 "projectName": "MyProject",
41 <ComponentSourceSnippetViewer
45 "component": "main.js",
46 "componentLongName": "main.js",
47 "componentQualifier": "FIL",
48 "componentUuid": "foo1234",
49 "creationDate": "2017-03-01T09:36:01+0100",
53 "component": "main.js",
62 "component": "main.js",
71 "component": "main.js",
82 "component": "main.js",
91 "component": "main.js",
101 "fromHotspot": false,
104 "message": "Reduce the number of conditional operators (4) used in the expression",
105 "organization": "myorg",
106 "project": "myproject",
108 "projectName": "Foo",
109 "projectOrganization": "org",
110 "rule": "javascript:S1067",
112 "secondaryLocations": Array [
114 "component": "main.js",
115 "textRange": Object {
123 "component": "main.js",
124 "textRange": Object {
134 "textRange": Object {
140 "transitions": Array [],
144 issuesByLine={Object {}}
146 loadDuplications={[Function]}
150 "component": "main.js",
152 "textRange": Object {
161 onIssueChange={[MockFunction]}
162 onIssuePopupToggle={[Function]}
163 onLinePopupToggle={[Function]}
164 onLocationSelect={[MockFunction]}
165 renderDuplicationPopup={[Function]}
166 scroll={[MockFunction]}
169 "component": Object {
173 "duplicationDensity": "1.0",
178 "project": "my-project",
179 "projectName": "MyProject",
185 "component": "main.js",
187 "textRange": Object {
197 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
198 "coverageStatus": "covered",
199 "coveredConditions": 2,
203 "scmAuthor": "simon.brandhof@sonarsource.com",
204 "scmDate": "2018-12-11T10:48:39+0100",
205 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",