1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should fetch task warnings if it has to 1`] = `
5 contentLabel="warnings"
6 onRequestClose={[MockFunction]}
16 className="modal-body modal-container js-analysis-warnings"
22 className="panel panel-vertical"
26 className="pull-left spacer-right"
29 className="overflow-hidden markdown"
32 dangerouslySetInnerHTML={
34 "__html": "message foo",
41 className="panel panel-vertical"
45 className="pull-left spacer-right"
48 className="overflow-hidden markdown"
51 dangerouslySetInnerHTML={
53 "__html": "message-bar",
60 className="panel panel-vertical"
61 key="multiline message
66 className="pull-left spacer-right"
69 className="overflow-hidden markdown"
72 dangerouslySetInnerHTML={
74 "__html": "multiline message<br>secondline<br> third line",
83 className="modal-foot"
86 className="js-modal-close"
87 onClick={[MockFunction]}
95 exports[`should render correctly: default 1`] = `
97 contentLabel="warnings"
98 onRequestClose={[MockFunction]}
101 className="modal-head"
108 className="modal-body modal-container js-analysis-warnings"
114 className="panel panel-vertical"
118 className="pull-left spacer-right"
121 className="overflow-hidden markdown"
124 dangerouslySetInnerHTML={
126 "__html": "warning 1",
133 className="panel panel-vertical"
137 className="pull-left spacer-right"
140 className="overflow-hidden markdown"
143 dangerouslySetInnerHTML={
145 "__html": "warning 2",
154 className="modal-foot"
157 className="js-modal-close"
158 onClick={[MockFunction]}
166 exports[`should render correctly: do not show dismissable links for anonymous 1`] = `
168 contentLabel="warnings"
169 onRequestClose={[MockFunction]}
172 className="modal-head"
179 className="modal-body modal-container js-analysis-warnings"
185 className="panel panel-vertical"
189 className="pull-left spacer-right"
192 className="overflow-hidden markdown"
195 dangerouslySetInnerHTML={
197 "__html": "Lorem ipsum",
206 className="modal-foot"
209 className="js-modal-close"
210 onClick={[MockFunction]}
218 exports[`should render correctly: with dismissable warnings 1`] = `
220 contentLabel="warnings"
221 onRequestClose={[MockFunction]}
224 className="modal-head"
231 className="modal-body modal-container js-analysis-warnings"
237 className="panel panel-vertical"
241 className="pull-left spacer-right"
244 className="overflow-hidden markdown"
247 dangerouslySetInnerHTML={
249 "__html": "Lorem ipsum",
254 className="spacer-top display-flex-inline"
257 className="link-base-color"
269 className="modal-foot"
272 className="js-modal-close"
273 onClick={[MockFunction]}