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`] = `
26 exports[`should render correctly 2`] = `
32 "branchLike": undefined,
37 "duplicationDensity": "1.0",
42 "project": "my-project",
43 "projectName": "MyProject",
50 <ComponentSourceSnippetGroupViewer
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 "organization": "myorg",
115 "project": "myproject",
117 "projectName": "Foo",
118 "projectOrganization": "org",
119 "rule": "javascript:S1067",
121 "secondaryLocations": Array [
123 "component": "main.js",
124 "textRange": Object {
132 "component": "main.js",
133 "textRange": Object {
143 "textRange": Object {
149 "transitions": Array [],
153 issuesByLine={Object {}}
154 lastSnippetGroup={true}
155 loadDuplications={[Function]}
159 "component": "main.js",
161 "textRange": Object {
170 onIssueChange={[MockFunction]}
171 onIssuePopupToggle={[Function]}
172 onLinePopupToggle={[Function]}
173 onLocationSelect={[MockFunction]}
174 renderDuplicationPopup={[Function]}
175 scroll={[MockFunction]}
178 "component": Object {
182 "duplicationDensity": "1.0",
187 "project": "my-project",
188 "projectName": "MyProject",
194 "component": "main.js",
196 "textRange": Object {
206 "code": "<span class=\\"k\\">import</span> java.util.<span class=\\"sym-9 sym\\">ArrayList</span>;",
207 "coverageStatus": "covered",
208 "coveredConditions": 2,
212 "scmAuthor": "simon.brandhof@sonarsource.com",
213 "scmDate": "2018-12-11T10:48:39+0100",
214 "scmRevision": "80f564becc0c0a1c9abaa006eca83a4fd278c3f0",