1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
7 <Connect(withCurrentUser(FilterBar))
10 "assignedToMe": false,
11 "sinceLeakPeriod": false,
12 "status": "TO_REVIEW",
15 isStaticListOfHotspots={true}
17 onChangeFilters={[MockFunction]}
18 onShowAllHotspots={[MockFunction]}
20 <ScreenPositionHelper>
22 </ScreenPositionHelper>
26 exports[`should render correctly with hotspots 1`] = `
37 suggestions="security_hotspots"
41 encodeSpecialCharacters={true}
45 anchor="security_hotspots_main"
48 className="layout-page"
57 "author": "Developer 1",
58 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
59 "creationDate": "2013-05-13T17:55:39+0200",
62 "message": "'3' is a magic number.",
63 "project": "com.github.kevinsawicki:http-request",
64 "resolution": undefined,
65 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
66 "securityCategory": "command-injection",
67 "status": "TO_REVIEW",
68 "updateDate": "2013-05-13T17:55:39+0200",
69 "vulnerabilityProbability": "HIGH",
72 "author": "Developer 1",
73 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
74 "creationDate": "2013-05-13T17:55:39+0200",
77 "message": "'3' is a magic number.",
78 "project": "com.github.kevinsawicki:http-request",
79 "resolution": undefined,
80 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
81 "securityCategory": "command-injection",
82 "status": "TO_REVIEW",
83 "updateDate": "2013-05-13T17:55:39+0200",
84 "vulnerabilityProbability": "HIGH",
89 isStaticListOfHotspots={true}
91 onHotspotClick={[MockFunction]}
92 onLoadMore={[MockFunction]}
93 securityCategories={Object {}}
94 statusFilter="TO_REVIEW"
105 exports[`should render correctly with hotspots 2`] = `
116 suggestions="security_hotspots"
120 encodeSpecialCharacters={true}
121 title="hotspots.page"
124 anchor="security_hotspots_main"
127 className="layout-page"
136 "author": "Developer 1",
137 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
138 "creationDate": "2013-05-13T17:55:39+0200",
141 "message": "'3' is a magic number.",
142 "project": "com.github.kevinsawicki:http-request",
143 "resolution": undefined,
144 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
145 "securityCategory": "command-injection",
146 "status": "TO_REVIEW",
147 "updateDate": "2013-05-13T17:55:39+0200",
148 "vulnerabilityProbability": "HIGH",
151 "author": "Developer 1",
152 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
153 "creationDate": "2013-05-13T17:55:39+0200",
156 "message": "'3' is a magic number.",
157 "project": "com.github.kevinsawicki:http-request",
158 "resolution": undefined,
159 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
160 "securityCategory": "command-injection",
161 "status": "TO_REVIEW",
162 "updateDate": "2013-05-13T17:55:39+0200",
163 "vulnerabilityProbability": "HIGH",
168 isStaticListOfHotspots={true}
170 onHotspotClick={[MockFunction]}
171 onLoadMore={[MockFunction]}
172 securityCategories={Object {}}
173 selectedHotspotKey="h2"
174 statusFilter="TO_REVIEW"
182 onUpdateHotspot={[MockFunction]}
183 securityCategories={Object {}}
191 exports[`should render correctly: no hotspots 1`] = `
202 suggestions="security_hotspots"
206 encodeSpecialCharacters={true}
207 title="hotspots.page"
210 anchor="security_hotspots_main"
214 isStaticListOfHotspots={true}
220 exports[`should render correctly: no hotspots with filters 1`] = `
231 suggestions="security_hotspots"
235 encodeSpecialCharacters={true}
236 title="hotspots.page"
239 anchor="security_hotspots_main"
243 isStaticListOfHotspots={true}