]> source.dussan.org Git - sonarqube.git/blob
a09a740facbca52df6a61c9670540536ab444470
[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         {
15           "branchType": "branches.branch",
16           "warnings": <a
17             href="#"
18             onClick={[Function]}
19           >
20             <FormattedMessage
21               defaultMessage="component_navigation.x_warnings"
22               id="component_navigation.x_warnings"
23               values={
24                 {
25                   "warningsCount": 1,
26                 }
27               }
28             />
29           </a>,
30         }
31       }
32     />
33   </Alert>
34   <withCurrentUserContext(AnalysisWarningsModal)
35     componentKey="foo"
36     onClose={[Function]}
37     onWarningDismiss={[MockFunction]}
38     warnings={
39       [
40         {
41           "dismissable": false,
42           "key": "foo",
43           "message": "warning 1",
44         },
45       ]
46     }
47   />
48 </Fragment>
49 `;