1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render CrossComponentSourceViewer correctly 1`] = `
5 <CrossComponentSourceViewer
8 "analysisDate": "2018-01-01",
21 "component": "main.js",
22 "componentLongName": "main.js",
23 "componentQualifier": "FIL",
24 "componentUuid": "foo1234",
25 "creationDate": "2017-03-01T09:36:01+0100",
29 "component": "main.js",
39 "component": "main.js",
49 "component": "main.js",
61 "component": "main.js",
70 "component": "main.js",
81 "key": "AVsae-CQS-9G3txfbFN2",
83 "message": "Reduce the number of conditional operators (4) used in the expression",
84 "organization": "myorg",
85 "project": "myproject",
88 "projectOrganization": "org",
89 "rule": "javascript:S1067",
91 "secondaryLocations": Array [
93 "component": "main.js",
102 "component": "main.js",
103 "textRange": Object {
113 "textRange": Object {
119 "transitions": Array [],
127 "component": "main.js",
128 "componentLongName": "main.js",
129 "componentQualifier": "FIL",
130 "componentUuid": "foo1234",
131 "creationDate": "2017-03-01T09:36:01+0100",
135 "component": "main.js",
136 "textRange": Object {
144 "component": "main.js",
145 "textRange": Object {
153 "component": "main.js",
154 "textRange": Object {
164 "component": "main.js",
165 "textRange": Object {
173 "component": "main.js",
174 "textRange": Object {
183 "fromHotspot": false,
184 "key": "AVsae-CQS-9G3txfbFN2",
186 "message": "Reduce the number of conditional operators (4) used in the expression",
187 "organization": "myorg",
188 "project": "myproject",
190 "projectName": "Foo",
191 "projectOrganization": "org",
192 "rule": "javascript:S1067",
194 "secondaryLocations": Array [
196 "component": "main.js",
197 "textRange": Object {
205 "component": "main.js",
206 "textRange": Object {
216 "textRange": Object {
222 "transitions": Array [],
230 "component": "main.js",
232 "textRange": Object {
240 "component": "main.js",
242 "textRange": Object {
250 "component": "main.js",
252 "textRange": Object {
261 onIssueChange={[MockFunction]}
262 onLoaded={[Function]}
263 onLocationSelect={[MockFunction]}
269 exports[`should render SourceViewer correctly 1`] = `
275 "analysisDate": "2018-01-01",
281 displayAllIssues={true}
282 displayLocationMarkers={false}
283 highlightedLocations={Array []}
284 loadIssues={[MockFunction]}
285 onIssueChange={[MockFunction]}
286 onIssueSelect={[MockFunction]}
287 onLoaded={[Function]}
288 onLocationSelect={[MockFunction]}
290 selectedIssue="AVsae-CQS-9G3txfbFN2"