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 displayIssueLocationsCount={true}
52 displayIssueLocationsLink={true}
53 displayLocationMarkers={true}
54 duplicationsByLine={Object {}}
55 hasSourcesAfter={false}
56 hasSourcesBefore={false}
57 highlightedSymbols={Array []}
58 issueLocationsByLine={
80 "component": "main.js",
81 "componentLongName": "main.js",
82 "componentQualifier": "FIL",
83 "componentUuid": "foo1234",
84 "creationDate": "2017-03-01T09:36:01+0100",
86 "flowsWithType": Array [],
87 "key": "AVsae-CQS-9G3txfbFN2",
89 "message": "Reduce the number of conditional operators (4) used in the expression",
90 "project": "myproject",
93 "rule": "javascript:S1067",
95 "secondaryLocations": Array [],
104 "transitions": Array [],
114 "component": "main.js",
115 "componentLongName": "main.js",
116 "componentQualifier": "FIL",
117 "componentUuid": "foo1234",
118 "creationDate": "2017-03-01T09:36:01+0100",
120 "flowsWithType": Array [],
121 "key": "AVsae-CQS-9G3txfbFN2",
123 "message": "Reduce the number of conditional operators (4) used in the expression",
124 "project": "myproject",
126 "projectName": "Foo",
127 "rule": "javascript:S1067",
129 "secondaryLocations": Array [],
132 "textRange": Object {
138 "transitions": Array [],
144 loadDuplications={[Function]}
145 loadSourcesAfter={[Function]}
146 loadSourcesBefore={[Function]}
147 loadingSourcesAfter={false}
148 loadingSourcesBefore={false}
149 onIssueChange={[Function]}
150 onIssuePopupToggle={[Function]}
151 onIssueSelect={[Function]}
152 onIssueUnselect={[Function]}
153 onIssuesClose={[Function]}
154 onIssuesOpen={[Function]}
155 onSymbolClick={[Function]}
156 openIssuesByLine={Object {}}
157 renderDuplicationPopup={[Function]}
159 symbolsByLine={Object {}}