1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
7 <Connect(withCurrentUser(FilterBar))
10 "assignedToMe": false,
12 "status": "TO_REVIEW",
15 isStaticListOfHotspots={true}
17 onChangeFilters={[MockFunction]}
18 onShowAllHotspots={[MockFunction]}
20 <ScreenPositionHelper>
22 </ScreenPositionHelper>
26 exports[`should render correctly 2`] = `
37 suggestions="security_hotspots"
41 encodeSpecialCharacters={true}
45 anchor="security_hotspots_main"
48 className="huge-spacer-left big-spacer-top"
53 className="display-flex-column display-flex-center"
57 className="huge-spacer-top"
59 src="/images/hotspot-large.svg"
62 className="huge-spacer-top"
64 hotspots.no_hotspots.title
67 className="abs-width-400 text-center big-spacer-top"
69 hotspots.no_hotspots.description
72 className="big-spacer-top"
73 onlyActiveOnIndex={false}
78 "pathname": "/documentation/user-guide/security-hotspots/",
90 exports[`should render correctly with hotspots 1`] = `
101 suggestions="security_hotspots"
105 encodeSpecialCharacters={true}
106 title="hotspots.page"
109 anchor="security_hotspots_main"
112 className="huge-spacer-left big-spacer-top"
117 className="layout-page"
126 "author": "Developer 1",
127 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
128 "creationDate": "2013-05-13T17:55:39+0200",
131 "message": "'3' is a magic number.",
132 "project": "com.github.kevinsawicki:http-request",
133 "resolution": undefined,
134 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
135 "securityCategory": "command-injection",
136 "status": "TO_REVIEW",
137 "updateDate": "2013-05-13T17:55:39+0200",
138 "vulnerabilityProbability": "HIGH",
141 "author": "Developer 1",
142 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
143 "creationDate": "2013-05-13T17:55:39+0200",
146 "message": "'3' is a magic number.",
147 "project": "com.github.kevinsawicki:http-request",
148 "resolution": undefined,
149 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
150 "securityCategory": "command-injection",
151 "status": "TO_REVIEW",
152 "updateDate": "2013-05-13T17:55:39+0200",
153 "vulnerabilityProbability": "HIGH",
158 isStaticListOfHotspots={true}
160 onHotspotClick={[MockFunction]}
161 onLoadMore={[MockFunction]}
162 securityCategories={Object {}}
163 statusFilter="TO_REVIEW"
175 exports[`should render correctly with hotspots 2`] = `
186 suggestions="security_hotspots"
190 encodeSpecialCharacters={true}
191 title="hotspots.page"
194 anchor="security_hotspots_main"
197 className="huge-spacer-left big-spacer-top"
202 className="layout-page"
211 "author": "Developer 1",
212 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
213 "creationDate": "2013-05-13T17:55:39+0200",
216 "message": "'3' is a magic number.",
217 "project": "com.github.kevinsawicki:http-request",
218 "resolution": undefined,
219 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
220 "securityCategory": "command-injection",
221 "status": "TO_REVIEW",
222 "updateDate": "2013-05-13T17:55:39+0200",
223 "vulnerabilityProbability": "HIGH",
226 "author": "Developer 1",
227 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
228 "creationDate": "2013-05-13T17:55:39+0200",
231 "message": "'3' is a magic number.",
232 "project": "com.github.kevinsawicki:http-request",
233 "resolution": undefined,
234 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
235 "securityCategory": "command-injection",
236 "status": "TO_REVIEW",
237 "updateDate": "2013-05-13T17:55:39+0200",
238 "vulnerabilityProbability": "HIGH",
243 isStaticListOfHotspots={true}
245 onHotspotClick={[MockFunction]}
246 onLoadMore={[MockFunction]}
247 securityCategories={Object {}}
248 selectedHotspotKey="h2"
249 statusFilter="TO_REVIEW"
257 onUpdateHotspot={[MockFunction]}
258 securityCategories={Object {}}