1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render CrossComponentSourceViewer correctly 1`] = `
5 <CrossComponentSourceViewer
8 "analysisDate": "2018-01-01",
9 "excludedFromPurge": true,
17 "component": "main.js",
18 "componentLongName": "main.js",
19 "componentQualifier": "FIL",
20 "componentUuid": "foo1234",
21 "creationDate": "2017-03-01T09:36:01+0100",
25 "component": "main.js",
35 "component": "main.js",
45 "component": "main.js",
57 "component": "main.js",
66 "component": "main.js",
77 "key": "AVsae-CQS-9G3txfbFN2",
79 "message": "Reduce the number of conditional operators (4) used in the expression",
80 "project": "myproject",
83 "rule": "javascript:S1067",
85 "secondaryLocations": Array [
87 "component": "main.js",
96 "component": "main.js",
107 "textRange": Object {
113 "transitions": Array [],
121 "component": "main.js",
122 "componentLongName": "main.js",
123 "componentQualifier": "FIL",
124 "componentUuid": "foo1234",
125 "creationDate": "2017-03-01T09:36:01+0100",
129 "component": "main.js",
130 "textRange": Object {
138 "component": "main.js",
139 "textRange": Object {
147 "component": "main.js",
148 "textRange": Object {
158 "component": "main.js",
159 "textRange": Object {
167 "component": "main.js",
168 "textRange": Object {
177 "fromHotspot": false,
178 "key": "AVsae-CQS-9G3txfbFN2",
180 "message": "Reduce the number of conditional operators (4) used in the expression",
181 "project": "myproject",
183 "projectName": "Foo",
184 "rule": "javascript:S1067",
186 "secondaryLocations": Array [
188 "component": "main.js",
189 "textRange": Object {
197 "component": "main.js",
198 "textRange": Object {
208 "textRange": Object {
214 "transitions": Array [],
222 "component": "main.js",
224 "textRange": Object {
232 "component": "main.js",
234 "textRange": Object {
242 "component": "main.js",
244 "textRange": Object {
253 onIssueChange={[MockFunction]}
254 onLoaded={[Function]}
255 onLocationSelect={[MockFunction]}
261 exports[`should render SourceViewer correctly 1`] = `
267 "analysisDate": "2018-01-01",
268 "excludedFromPurge": true,
274 displayAllIssues={true}
275 displayIssueLocationsCount={true}
276 displayIssueLocationsLink={false}
277 displayLocationMarkers={false}
278 highlightedLocations={Array []}
279 loadIssues={[MockFunction]}
280 onIssueChange={[MockFunction]}
281 onIssueSelect={[MockFunction]}
282 onLoaded={[Function]}
283 onLocationSelect={[MockFunction]}
285 selectedIssue="AVsae-CQS-9G3txfbFN2"