1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
5 className="concise-issue-box clearfix"
10 className="concise-issue-box-message"
14 Reduce the number of conditional operators (4) used in the expression
17 className="concise-issue-box-attributes"
20 className="display-block little-spacer-right"
23 <ConciseIssueLocations
27 "component": "main.js",
28 "componentLongName": "main.js",
29 "componentQualifier": "FIL",
30 "componentUuid": "foo1234",
31 "creationDate": "2017-03-01T09:36:01+0100",
33 "flowsWithType": Array [],
34 "key": "AVsae-CQS-9G3txfbFN2",
36 "message": "Reduce the number of conditional operators (4) used in the expression",
37 "project": "myproject",
40 "rule": "javascript:S1067",
42 "secondaryLocations": Array [],
51 "transitions": Array [],
55 onFlowSelect={[MockFunction]}
62 exports[`should render correctly 2`] = `
64 className="concise-issue-box clearfix selected"
68 className="concise-issue-box-message"
72 Reduce the number of conditional operators (4) used in the expression
75 className="concise-issue-box-attributes"
78 className="display-block little-spacer-right"
81 <ConciseIssueLocations
85 "component": "main.js",
86 "componentLongName": "main.js",
87 "componentQualifier": "FIL",
88 "componentUuid": "foo1234",
89 "creationDate": "2017-03-01T09:36:01+0100",
93 "component": "main.js",
102 "component": "main.js",
103 "textRange": Object {
111 "component": "main.js",
112 "textRange": Object {
122 "component": "main.js",
123 "textRange": Object {
131 "component": "main.js",
132 "textRange": Object {
141 "flowsWithType": Array [],
142 "key": "AVsae-CQS-9G3txfbFN2",
144 "message": "Reduce the number of conditional operators (4) used in the expression",
145 "project": "myproject",
147 "projectName": "Foo",
148 "rule": "javascript:S1067",
150 "secondaryLocations": Array [
152 "component": "main.js",
153 "textRange": Object {
161 "component": "main.js",
162 "textRange": Object {
172 "textRange": Object {
178 "transitions": Array [],
182 onFlowSelect={[MockFunction]}
183 selectedFlowIndex={0}
187 componentKey="main.js"
191 "component": "main.js",
192 "textRange": Object {
200 "component": "main.js",
201 "textRange": Object {
210 onLocationSelect={[MockFunction]}
211 selectedLocationIndex={0}