1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly: default 1`] = `
9 message="Reduce the number of conditional operators (4) used in the expression"
10 ruleKey="javascript:S1067"
13 className="issue-row-meta"
16 className="issue-meta-list"
19 className="issue-meta"
22 creationDate="2017-03-01T09:36:01+0100"
27 "component": "main.js",
28 "componentEnabled": true,
29 "componentLongName": "main.js",
30 "componentQualifier": "FIL",
31 "componentUuid": "foo1234",
32 "creationDate": "2017-03-01T09:36:01+0100",
33 "externalRuleEngine": "foo",
36 "key": "AVsae-CQS-9G3txfbFN2",
38 "message": "Reduce the number of conditional operators (4) used in the expression",
39 "project": "myproject",
42 "rule": "javascript:S1067",
44 "secondaryLocations": [],
57 togglePopup={[MockFunction]}
61 className="issue-meta"
64 className="issue-meta-label"
72 className="issue-meta"
75 className="js-issue-permalink link-no-underline"
81 "pathname": "/project/issues",
82 "search": "?issues=AVsae-CQS-9G3txfbFN2&open=AVsae-CQS-9G3txfbFN2&id=myproject",
94 exports[`should render correctly: with filter 1`] = `
100 message="Reduce the number of conditional operators (4) used in the expression"
101 ruleKey="javascript:S1067"
104 className="issue-row-meta"
107 className="issue-meta-list"
110 className="issue-meta"
113 creationDate="2017-03-01T09:36:01+0100"
118 "component": "main.js",
119 "componentEnabled": true,
120 "componentLongName": "main.js",
121 "componentQualifier": "FIL",
122 "componentUuid": "foo1234",
123 "creationDate": "2017-03-01T09:36:01+0100",
124 "externalRuleEngine": "foo",
127 "key": "AVsae-CQS-9G3txfbFN2",
129 "message": "Reduce the number of conditional operators (4) used in the expression",
130 "project": "myproject",
132 "projectName": "Foo",
133 "rule": "javascript:S1067",
135 "secondaryLocations": [],
148 togglePopup={[MockFunction]}
152 className="issue-meta"
155 className="issue-meta-label"
163 className="issue-meta"
166 className="js-issue-permalink link-no-underline"
172 "pathname": "/project/issues",
173 "search": "?issues=AVsae-CQS-9G3txfbFN2&open=AVsae-CQS-9G3txfbFN2&id=myproject",
181 className="issue-meta"
188 "component": "main.js",
189 "componentEnabled": true,
190 "componentLongName": "main.js",
191 "componentQualifier": "FIL",
192 "componentUuid": "foo1234",
193 "creationDate": "2017-03-01T09:36:01+0100",
194 "externalRuleEngine": "foo",
197 "key": "AVsae-CQS-9G3txfbFN2",
199 "message": "Reduce the number of conditional operators (4) used in the expression",
200 "project": "myproject",
202 "projectName": "Foo",
203 "rule": "javascript:S1067",
205 "secondaryLocations": [],
218 onFilter={[MockFunction]}
219 togglePopup={[MockFunction]}
227 exports[`should render correctly: with multi locations 1`] = `
229 className="issue-row"
232 message="Reduce the number of conditional operators (4) used in the expression"
233 ruleKey="javascript:S1067"
236 className="issue-row-meta"
239 className="issue-meta-list"
242 className="issue-meta"
245 creationDate="2017-03-01T09:36:01+0100"
250 "component": "main.js",
251 "componentEnabled": true,
252 "componentLongName": "main.js",
253 "componentQualifier": "FIL",
254 "componentUuid": "foo1234",
255 "creationDate": "2017-03-01T09:36:01+0100",
259 "component": "main.js",
268 "component": "main.js",
277 "component": "main.js",
288 "component": "main.js",
297 "component": "main.js",
308 "key": "AVsae-CQS-9G3txfbFN2",
310 "message": "Reduce the number of conditional operators (4) used in the expression",
311 "project": "myproject",
313 "projectName": "Foo",
314 "rule": "javascript:S1067",
316 "secondaryLocations": [
318 "component": "main.js",
327 "component": "main.js",
348 togglePopup={[MockFunction]}
352 className="issue-meta"
355 className="issue-meta-label"
363 className="issue-meta"
366 overlay="issue.this_issue_involves_x_code_locations.7"
374 className="issue-meta"
377 className="js-issue-permalink link-no-underline"
383 "pathname": "/project/issues",
384 "search": "?issues=AVsae-CQS-9G3txfbFN2&open=AVsae-CQS-9G3txfbFN2&id=myproject",
396 exports[`should render correctly: with multi locations and link 1`] = `
398 className="issue-row"
401 message="Reduce the number of conditional operators (4) used in the expression"
402 ruleKey="javascript:S1067"
405 className="issue-row-meta"
408 className="issue-meta-list"
411 className="issue-meta"
414 creationDate="2017-03-01T09:36:01+0100"
419 "component": "main.js",
420 "componentEnabled": true,
421 "componentLongName": "main.js",
422 "componentQualifier": "FIL",
423 "componentUuid": "foo1234",
424 "creationDate": "2017-03-01T09:36:01+0100",
428 "component": "main.js",
437 "component": "main.js",
446 "component": "main.js",
457 "component": "main.js",
466 "component": "main.js",
477 "key": "AVsae-CQS-9G3txfbFN2",
479 "message": "Reduce the number of conditional operators (4) used in the expression",
480 "project": "myproject",
482 "projectName": "Foo",
483 "rule": "javascript:S1067",
485 "secondaryLocations": [
487 "component": "main.js",
496 "component": "main.js",
517 togglePopup={[MockFunction]}
521 className="issue-meta"
524 className="issue-meta-label"
532 className="issue-meta"
539 "pathname": "/project/issues",
540 "search": "?branch=branch-6.7&issues=AVsae-CQS-9G3txfbFN2&open=AVsae-CQS-9G3txfbFN2&id=myproject",
545 overlay="issue.this_issue_involves_x_code_locations.7"
554 className="issue-meta"
557 className="js-issue-permalink link-no-underline"
563 "pathname": "/project/issues",
564 "search": "?branch=branch-6.7&issues=AVsae-CQS-9G3txfbFN2&open=AVsae-CQS-9G3txfbFN2&id=myproject",