1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
8 "analysisDate": "2018-01-01",
9 "excludedFromPurge": true,
14 "canMarkAsFavorite": true,
16 "key": "project:foo/bar.ts",
17 "leakPeriodDate": "2018-06-20T17:12:19+0200",
18 "longName": "foo/bar.ts",
21 "duplicationDensity": "1.0",
28 "projectName": "MyProject",
36 className="source-viewer"
44 "analysisDate": "2018-01-01",
45 "excludedFromPurge": true,
50 displayAllIssues={false}
51 displayLocationMarkers={true}
52 duplicationsByLine={{}}
53 hasSourcesAfter={false}
54 hasSourcesBefore={false}
55 highlightedSymbols={[]}
56 issueLocationsByLine={
78 "component": "main.js",
79 "componentEnabled": true,
80 "componentLongName": "main.js",
81 "componentQualifier": "FIL",
82 "componentUuid": "foo1234",
83 "creationDate": "2017-03-01T09:36:01+0100",
86 "key": "AVsae-CQS-9G3txfbFN2",
88 "message": "Reduce the number of conditional operators (4) used in the expression",
89 "project": "myproject",
92 "rule": "javascript:S1067",
95 "secondaryLocations": [],
114 "component": "main.js",
115 "componentEnabled": true,
116 "componentLongName": "main.js",
117 "componentQualifier": "FIL",
118 "componentUuid": "foo1234",
119 "creationDate": "2017-03-01T09:36:01+0100",
122 "key": "AVsae-CQS-9G3txfbFN2",
124 "message": "Reduce the number of conditional operators (4) used in the expression",
125 "project": "myproject",
127 "projectName": "Foo",
128 "rule": "javascript:S1067",
131 "secondaryLocations": [],
146 loadDuplications={[Function]}
147 loadSourcesAfter={[Function]}
148 loadSourcesBefore={[Function]}
149 loadingSourcesAfter={false}
150 loadingSourcesBefore={false}
151 onIssueChange={[Function]}
152 onIssuePopupToggle={[Function]}
153 onIssueSelect={[Function]}
154 onIssueUnselect={[Function]}
155 onIssuesClose={[Function]}
156 onIssuesOpen={[Function]}
157 onSymbolClick={[Function]}
158 openIssuesByLine={{}}
159 renderDuplicationPopup={[Function]}