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",
16 isStaticListOfHotspots={true}
17 loadingMeasure={false}
19 onChangeFilters={[MockFunction]}
20 onShowAllHotspots={[MockFunction]}
22 <ScreenPositionHelper>
24 </ScreenPositionHelper>
28 exports[`should render correctly with hotspots 1`] = `
39 suggestions="security_hotspots"
43 encodeSpecialCharacters={true}
47 anchor="security_hotspots_main"
50 className="layout-page"
59 "author": "Developer 1",
60 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
61 "creationDate": "2013-05-13T17:55:39+0200",
64 "message": "'3' is a magic number.",
65 "project": "com.github.kevinsawicki:http-request",
66 "resolution": undefined,
67 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
68 "securityCategory": "command-injection",
69 "status": "TO_REVIEW",
70 "updateDate": "2013-05-13T17:55:39+0200",
71 "vulnerabilityProbability": "HIGH",
74 "author": "Developer 1",
75 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
76 "creationDate": "2013-05-13T17:55:39+0200",
79 "message": "'3' is a magic number.",
80 "project": "com.github.kevinsawicki:http-request",
81 "resolution": undefined,
82 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
83 "securityCategory": "command-injection",
84 "status": "TO_REVIEW",
85 "updateDate": "2013-05-13T17:55:39+0200",
86 "vulnerabilityProbability": "HIGH",
91 isStaticListOfHotspots={true}
93 onHotspotClick={[MockFunction]}
94 onLoadMore={[MockFunction]}
95 securityCategories={Object {}}
96 statusFilter="TO_REVIEW"
107 exports[`should render correctly with hotspots 2`] = `
118 suggestions="security_hotspots"
122 encodeSpecialCharacters={true}
123 title="hotspots.page"
126 anchor="security_hotspots_main"
129 className="layout-page"
138 "author": "Developer 1",
139 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
140 "creationDate": "2013-05-13T17:55:39+0200",
143 "message": "'3' is a magic number.",
144 "project": "com.github.kevinsawicki:http-request",
145 "resolution": undefined,
146 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
147 "securityCategory": "command-injection",
148 "status": "TO_REVIEW",
149 "updateDate": "2013-05-13T17:55:39+0200",
150 "vulnerabilityProbability": "HIGH",
153 "author": "Developer 1",
154 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
155 "creationDate": "2013-05-13T17:55:39+0200",
158 "message": "'3' is a magic number.",
159 "project": "com.github.kevinsawicki:http-request",
160 "resolution": undefined,
161 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
162 "securityCategory": "command-injection",
163 "status": "TO_REVIEW",
164 "updateDate": "2013-05-13T17:55:39+0200",
165 "vulnerabilityProbability": "HIGH",
170 isStaticListOfHotspots={true}
172 onHotspotClick={[MockFunction]}
173 onLoadMore={[MockFunction]}
174 securityCategories={Object {}}
175 selectedHotspotKey="h2"
176 statusFilter="TO_REVIEW"
184 onUpdateHotspot={[MockFunction]}
185 securityCategories={Object {}}
193 exports[`should render correctly: no hotspots 1`] = `
204 suggestions="security_hotspots"
208 encodeSpecialCharacters={true}
209 title="hotspots.page"
212 anchor="security_hotspots_main"
216 isStaticListOfHotspots={true}
222 exports[`should render correctly: no hotspots with filters 1`] = `
233 suggestions="security_hotspots"
237 encodeSpecialCharacters={true}
238 title="hotspots.page"
241 anchor="security_hotspots_main"
245 isStaticListOfHotspots={true}