1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
7 <Connect(withCurrentUser(FilterBar))
10 "breadcrumbs": Array [],
13 "organization": "foo",
15 "qualityGate": Object {
20 "qualityProfiles": Array [
33 "assignedToMe": false,
34 "sinceLeakPeriod": false,
35 "status": "TO_REVIEW",
38 isStaticListOfHotspots={true}
39 loadingMeasure={false}
41 onChangeFilters={[MockFunction]}
42 onShowAllHotspots={[MockFunction]}
44 <ScreenPositionHelper>
46 </ScreenPositionHelper>
50 exports[`should render correctly with hotspots 1`] = `
61 suggestions="security_hotspots"
65 encodeSpecialCharacters={true}
69 anchor="security_hotspots_main"
73 isStaticListOfHotspots={true}
79 exports[`should render correctly with hotspots 2`] = `
90 suggestions="security_hotspots"
94 encodeSpecialCharacters={true}
98 anchor="security_hotspots_main"
101 className="layout-page"
110 "author": "Developer 1",
111 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
112 "creationDate": "2013-05-13T17:55:39+0200",
115 "message": "'3' is a magic number.",
116 "project": "com.github.kevinsawicki:http-request",
117 "resolution": undefined,
118 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
119 "securityCategory": "command-injection",
120 "status": "TO_REVIEW",
121 "updateDate": "2013-05-13T17:55:39+0200",
122 "vulnerabilityProbability": "HIGH",
125 "author": "Developer 1",
126 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
127 "creationDate": "2013-05-13T17:55:39+0200",
130 "message": "'3' is a magic number.",
131 "project": "com.github.kevinsawicki:http-request",
132 "resolution": undefined,
133 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
134 "securityCategory": "command-injection",
135 "status": "TO_REVIEW",
136 "updateDate": "2013-05-13T17:55:39+0200",
137 "vulnerabilityProbability": "HIGH",
142 isStaticListOfHotspots={true}
144 onHotspotClick={[MockFunction]}
145 onLoadMore={[MockFunction]}
146 securityCategories={Object {}}
149 "author": "Developer 1",
150 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
151 "creationDate": "2013-05-13T17:55:39+0200",
154 "message": "'3' is a magic number.",
155 "project": "com.github.kevinsawicki:http-request",
156 "resolution": undefined,
157 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
158 "securityCategory": "command-injection",
159 "status": "TO_REVIEW",
160 "updateDate": "2013-05-13T17:55:39+0200",
161 "vulnerabilityProbability": "HIGH",
164 statusFilter="TO_REVIEW"
173 "breadcrumbs": Array [],
176 "organization": "foo",
178 "qualityGate": Object {
183 "qualityProfiles": Array [
195 onUpdateHotspot={[MockFunction]}
196 securityCategories={Object {}}
204 exports[`should render correctly: no hotspots 1`] = `
215 suggestions="security_hotspots"
219 encodeSpecialCharacters={true}
220 title="hotspots.page"
223 anchor="security_hotspots_main"
227 isStaticListOfHotspots={true}
233 exports[`should render correctly: no hotspots with filters 1`] = `
244 suggestions="security_hotspots"
248 encodeSpecialCharacters={true}
249 title="hotspots.page"
252 anchor="security_hotspots_main"
256 isStaticListOfHotspots={true}