1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
8 "analysisDate": "2018-01-01",
9 "excludedFromPurge": true,
15 "leakPeriodDate": "2018-06-20T17:12:19+0200",
18 "duplicationDensity": "1.0",
23 "project": "my-project",
24 "projectName": "MyProject",
32 className="source-viewer"
40 "analysisDate": "2018-01-01",
41 "excludedFromPurge": true,
46 componentKey="my-component"
47 displayAllIssues={false}
48 displayIssueLocationsCount={true}
49 displayIssueLocationsLink={true}
50 displayLocationMarkers={true}
51 duplicationsByLine={Object {}}
52 hasSourcesAfter={false}
53 hasSourcesBefore={false}
54 highlightedSymbols={Array []}
55 issueLocationsByLine={
77 "component": "main.js",
78 "componentLongName": "main.js",
79 "componentQualifier": "FIL",
80 "componentUuid": "foo1234",
81 "creationDate": "2017-03-01T09:36:01+0100",
84 "key": "AVsae-CQS-9G3txfbFN2",
86 "message": "Reduce the number of conditional operators (4) used in the expression",
87 "organization": "myorg",
88 "project": "myproject",
91 "projectOrganization": "org",
92 "rule": "javascript:S1067",
94 "secondaryLocations": Array [],
103 "transitions": Array [],
113 "component": "main.js",
114 "componentLongName": "main.js",
115 "componentQualifier": "FIL",
116 "componentUuid": "foo1234",
117 "creationDate": "2017-03-01T09:36:01+0100",
119 "fromHotspot": false,
120 "key": "AVsae-CQS-9G3txfbFN2",
122 "message": "Reduce the number of conditional operators (4) used in the expression",
123 "organization": "myorg",
124 "project": "myproject",
126 "projectName": "Foo",
127 "projectOrganization": "org",
128 "rule": "javascript:S1067",
130 "secondaryLocations": Array [],
133 "textRange": Object {
139 "transitions": Array [],
145 loadDuplications={[Function]}
146 loadSourcesAfter={[Function]}
147 loadSourcesBefore={[Function]}
148 loadingSourcesAfter={false}
149 loadingSourcesBefore={false}
150 onIssueChange={[Function]}
151 onIssuePopupToggle={[Function]}
152 onIssueSelect={[Function]}
153 onIssueUnselect={[Function]}
154 onIssuesClose={[Function]}
155 onIssuesOpen={[Function]}
156 onLinePopupToggle={[Function]}
157 onSymbolClick={[Function]}
158 openIssuesByLine={Object {}}
159 renderDuplicationPopup={[Function]}
161 symbolsByLine={Object {}}