1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`Should handle no access rights 1`] = `
8 code_viewer.no_source_code_displayed_due_to_security
12 exports[`should handle duplication popup 1`] = `
18 exports[`should render correctly 1`] = `
24 exports[`should render correctly 2`] = `
30 "branchLike": undefined,
35 "duplicationDensity": "1.0",
40 "project": "my-project",
41 "projectName": "MyProject",
48 <ComponentSourceSnippetGroupViewer
49 duplicationsByLine={Object {}}
50 isLastOccurenceOfPrimaryComponent={true}
54 "component": "main.js",
55 "componentLongName": "main.js",
56 "componentQualifier": "FIL",
57 "componentUuid": "foo1234",
58 "creationDate": "2017-03-01T09:36:01+0100",
62 "component": "main.js",
71 "component": "main.js",
80 "component": "main.js",
91 "component": "main.js",
100 "component": "main.js",
101 "textRange": Object {
110 "fromHotspot": false,
113 "message": "Reduce the number of conditional operators (4) used in the expression",
114 "project": "myproject",
116 "projectName": "Foo",
117 "rule": "javascript:S1067",
119 "secondaryLocations": Array [
121 "component": "main.js",
122 "textRange": Object {
130 "component": "main.js",
131 "textRange": Object {
141 "textRange": Object {
147 "transitions": Array [],
151 issuesByLine={Object {}}
152 lastSnippetGroup={true}
153 loadDuplications={[Function]}
157 "component": "main.js",
159 "textRange": Object {
168 onIssueChange={[MockFunction]}
169 onIssuePopupToggle={[Function]}
170 onLocationSelect={[MockFunction]}
171 renderDuplicationPopup={[Function]}
172 scroll={[MockFunction]}
175 "component": Object {
179 "duplicationDensity": "1.0",
184 "project": "my-project",
185 "projectName": "MyProject",
191 "component": "main.js",
193 "textRange": Object {
203 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
204 "coverageStatus": "covered",
205 "coveredConditions": 2,
209 "scmAuthor": "simon.brandhof@sonarsource.com",
210 "scmDate": "2018-12-11T10:48:39+0100",
211 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",