]> source.dussan.org Git - sonarqube.git/blob
75e4dce0d967bc3bbddef288e7888550c6fed3d9
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <HotspotSnippetContainerRenderer
5   branchLike={
6     Object {
7       "analysisDate": "2018-01-01",
8       "excludedFromPurge": true,
9       "isMain": false,
10       "name": "branch-6.7",
11     }
12   }
13   displayProjectName={false}
14   highlightedSymbols={Array []}
15   hotspot={
16     Object {
17       "assignee": "assignee",
18       "assigneeUser": Object {
19         "active": true,
20         "local": true,
21         "login": "assignee",
22         "name": "John Doe",
23       },
24       "author": "author",
25       "authorUser": Object {
26         "active": true,
27         "local": true,
28         "login": "author",
29         "name": "John Doe",
30       },
31       "canChangeStatus": true,
32       "changelog": Array [],
33       "comment": Array [],
34       "component": Object {
35         "breadcrumbs": Array [],
36         "key": "my-project",
37         "name": "MyProject",
38         "organization": "foo",
39         "qualifier": "FIL",
40         "qualityGate": Object {
41           "isDefault": true,
42           "key": "30",
43           "name": "Sonar way",
44         },
45         "qualityProfiles": Array [
46           Object {
47             "deleted": false,
48             "key": "my-qp",
49             "language": "ts",
50             "name": "Sonar way",
51           },
52         ],
53         "tags": Array [],
54       },
55       "creationDate": "2013-05-13T17:55:41+0200",
56       "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
57       "line": 142,
58       "message": "'3' is a magic number.",
59       "project": Object {
60         "breadcrumbs": Array [],
61         "key": "my-project",
62         "name": "MyProject",
63         "organization": "foo",
64         "qualifier": "TRK",
65         "qualityGate": Object {
66           "isDefault": true,
67           "key": "30",
68           "name": "Sonar way",
69         },
70         "qualityProfiles": Array [
71           Object {
72             "deleted": false,
73             "key": "my-qp",
74             "language": "ts",
75             "name": "Sonar way",
76           },
77         ],
78         "tags": Array [],
79       },
80       "resolution": "FIXED",
81       "rule": Object {
82         "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
83         "key": "squid:S2077",
84         "name": "That rule",
85         "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
86         "securityCategory": "sql-injection",
87         "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
88         "vulnerabilityProbability": "HIGH",
89       },
90       "status": "REVIEWED",
91       "textRange": Object {
92         "endLine": 142,
93         "endOffset": 83,
94         "startLine": 142,
95         "startOffset": 26,
96       },
97       "updateDate": "2013-05-13T17:55:42+0200",
98       "users": Array [
99         Object {
100           "active": true,
101           "local": true,
102           "login": "assignee",
103           "name": "John Doe",
104         },
105         Object {
106           "active": true,
107           "local": true,
108           "login": "author",
109           "name": "John Doe",
110         },
111       ],
112     }
113   }
114   loading={true}
115   locations={
116     Object {
117       "142": Array [
118         Object {
119           "from": 26,
120           "line": 142,
121           "to": 83,
122         },
123       ],
124     }
125   }
126   onExpandBlock={[Function]}
127   onLinePopupToggle={[Function]}
128   onSymbolClick={[Function]}
129   sourceLines={Array []}
130   sourceViewerFile={
131     Object {
132       "key": "my-project",
133       "measures": Object {
134         "lines": undefined,
135       },
136       "path": "",
137       "project": "my-project",
138       "projectName": "MyProject",
139       "q": "FIL",
140       "uuid": "",
141     }
142   }
143 />
144 `;