]> source.dussan.org Git - sonarqube.git/blob
f7893380d5b9d23792d2eb31c76f0cc49617fb33
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <Fragment>
5   <Alert
6     className="js-component-analysis-warnings flex-1"
7     display="inline"
8     variant="warning"
9   >
10     <FormattedMessage
11       defaultMessage="component_navigation.last_analysis_had_warnings"
12       id="component_navigation.last_analysis_had_warnings"
13       values={
14         Object {
15           "warnings": <a
16             href="#"
17             onClick={[Function]}
18           >
19             <FormattedMessage
20               defaultMessage="component_navigation.x_warnings"
21               id="component_navigation.x_warnings"
22               values={
23                 Object {
24                   "warningsCount": 1,
25                 }
26               }
27             />
28           </a>,
29         }
30       }
31     />
32   </Alert>
33   <AnalysisWarningsModal
34     componentKey="foo"
35     onClose={[Function]}
36     onWarningDismiss={[MockFunction]}
37     warnings={
38       Array [
39         Object {
40           "dismissable": false,
41           "key": "foo",
42           "message": "warning 1",
43         },
44       ]
45     }
46   />
47 </Fragment>
48 `;