]> source.dussan.org Git - sonarqube.git/blob
e2012ed304e94bd6d0e46868aa9b3186cb7115a3
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: non-project admin 1`] = `
4 <Alert
5   display="banner"
6   variant="warning"
7 >
8   <FormattedMessage
9     defaultMessage="component_navigation.pr_deco.error_detected_X"
10     id="component_navigation.pr_deco.error_detected_X"
11     values={
12       {
13         "action": "component_navigation.pr_deco.action.contact_project_admin",
14       }
15     }
16   />
17 </Alert>
18 `;
19
20 exports[`should render correctly: project admin 1`] = `
21 <Alert
22   display="banner"
23   variant="warning"
24 >
25   <FormattedMessage
26     defaultMessage="component_navigation.pr_deco.error_detected_X"
27     id="component_navigation.pr_deco.error_detected_X"
28     values={
29       {
30         "action": <ForwardRef(Link)
31           to={
32             {
33               "pathname": "/project/settings",
34               "search": "?id=my-project&category=pull_request_decoration_binding",
35             }
36           }
37         >
38           component_navigation.pr_deco.action.check_project_settings
39         </ForwardRef(Link)>,
40       }
41     }
42   />
43 </Alert>
44 `;