]> source.dussan.org Git - sonarqube.git/blob
1b40f5351beb6e6686847ecb0a74f69c1af7efec
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: default 1`] = `
4 <Alert
5   className="null-spacer-bottom"
6   display="banner"
7   variant="error"
8 >
9   <FormattedMessage
10     defaultMessage="component_navigation.status.failed_X"
11     id="component_navigation.status.failed_X"
12     values={
13       {
14         "branch": undefined,
15         "stacktrace": undefined,
16         "type": "background_task.type.REPORT",
17         "url": undefined,
18       }
19     }
20   />
21 </Alert>
22 `;
23
24 exports[`renders correctly: license issue 1`] = `
25 <withAppStateContext(ComponentNavLicenseNotif)
26   currentTask={
27     {
28       "analysisId": "x123",
29       "componentKey": "foo",
30       "componentName": "Foo",
31       "componentQualifier": "TRK",
32       "errorMessage": "Foo",
33       "errorType": "LICENSING",
34       "id": "AXR8jg_0mF2ZsYr8Wzs2",
35       "status": "FAILED",
36       "submittedAt": "2020-09-11T11:45:35+0200",
37       "type": "REPORT",
38     }
39   }
40 />
41 `;