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 displayAllIssues={false}
47 displayIssueLocationsCount={true}
48 displayIssueLocationsLink={true}
49 displayLocationMarkers={true}
50 duplicationsByLine={Object {}}
51 hasSourcesAfter={false}
52 hasSourcesBefore={false}
53 highlightedSymbols={Array []}
54 issueLocationsByLine={
76 "component": "main.js",
77 "componentLongName": "main.js",
78 "componentQualifier": "FIL",
79 "componentUuid": "foo1234",
80 "creationDate": "2017-03-01T09:36:01+0100",
83 "key": "AVsae-CQS-9G3txfbFN2",
85 "message": "Reduce the number of conditional operators (4) used in the expression",
86 "project": "myproject",
89 "rule": "javascript:S1067",
91 "secondaryLocations": Array [],
100 "transitions": Array [],
110 "component": "main.js",
111 "componentLongName": "main.js",
112 "componentQualifier": "FIL",
113 "componentUuid": "foo1234",
114 "creationDate": "2017-03-01T09:36:01+0100",
116 "fromHotspot": false,
117 "key": "AVsae-CQS-9G3txfbFN2",
119 "message": "Reduce the number of conditional operators (4) used in the expression",
120 "project": "myproject",
122 "projectName": "Foo",
123 "rule": "javascript:S1067",
125 "secondaryLocations": Array [],
128 "textRange": Object {
134 "transitions": Array [],
140 loadDuplications={[Function]}
141 loadSourcesAfter={[Function]}
142 loadSourcesBefore={[Function]}
143 loadingSourcesAfter={false}
144 loadingSourcesBefore={false}
145 onIssueChange={[Function]}
146 onIssuePopupToggle={[Function]}
147 onIssueSelect={[Function]}
148 onIssueUnselect={[Function]}
149 onIssuesClose={[Function]}
150 onIssuesOpen={[Function]}
151 onSymbolClick={[Function]}
152 openIssuesByLine={Object {}}
153 renderDuplicationPopup={[Function]}
155 symbolsByLine={Object {}}