]> source.dussan.org Git - sonarqube.git/blob
975eb1fe1cf0352df71ae025241e8ad6f9f1512d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <div>
5   <i
6     className="spinner"
7   />
8 </div>
9 `;
10
11 exports[`should render correctly 2`] = `
12 <div>
13   <ListItem
14     checked={false}
15     issue={
16       Object {
17         "actions": Array [],
18         "component": "main.js",
19         "componentLongName": "main.js",
20         "componentQualifier": "FIL",
21         "componentUuid": "foo1234",
22         "creationDate": "2017-03-01T09:36:01+0100",
23         "flows": Array [],
24         "fromHotspot": false,
25         "key": "AVsae-CQS-9G3txfbFN2",
26         "line": 25,
27         "message": "Reduce the number of conditional operators (4) used in the expression",
28         "project": "myproject",
29         "projectKey": "foo",
30         "projectName": "Foo",
31         "rule": "javascript:S1067",
32         "ruleName": "foo",
33         "secondaryLocations": Array [],
34         "severity": "MAJOR",
35         "status": "OPEN",
36         "textRange": Object {
37           "endLine": 26,
38           "endOffset": 15,
39           "startLine": 25,
40           "startOffset": 0,
41         },
42         "transitions": Array [],
43         "type": "BUG",
44       }
45     }
46     key="AVsae-CQS-9G3txfbFN2"
47     onChange={[MockFunction]}
48     onCheck={[MockFunction]}
49     onClick={[MockFunction]}
50     onFilterChange={[MockFunction]}
51     onPopupToggle={[MockFunction]}
52     selected={false}
53   />
54   <ListItem
55     checked={false}
56     issue={
57       Object {
58         "actions": Array [],
59         "component": "main.js",
60         "componentLongName": "main.js",
61         "componentQualifier": "FIL",
62         "componentUuid": "foo1234",
63         "creationDate": "2017-03-01T09:36:01+0100",
64         "flows": Array [],
65         "fromHotspot": false,
66         "key": "AVsae-CQS-9G3txfbFN3",
67         "line": 25,
68         "message": "Reduce the number of conditional operators (4) used in the expression",
69         "project": "myproject",
70         "projectKey": "foo",
71         "projectName": "Foo",
72         "rule": "javascript:S1067",
73         "ruleName": "foo",
74         "secondaryLocations": Array [],
75         "severity": "MAJOR",
76         "status": "OPEN",
77         "textRange": Object {
78           "endLine": 26,
79           "endOffset": 15,
80           "startLine": 25,
81           "startOffset": 0,
82         },
83         "transitions": Array [],
84         "type": "BUG",
85       }
86     }
87     key="AVsae-CQS-9G3txfbFN3"
88     onChange={[MockFunction]}
89     onCheck={[MockFunction]}
90     onClick={[MockFunction]}
91     onFilterChange={[MockFunction]}
92     onPopupToggle={[MockFunction]}
93     previousIssue={
94       Object {
95         "actions": Array [],
96         "component": "main.js",
97         "componentLongName": "main.js",
98         "componentQualifier": "FIL",
99         "componentUuid": "foo1234",
100         "creationDate": "2017-03-01T09:36:01+0100",
101         "flows": Array [],
102         "fromHotspot": false,
103         "key": "AVsae-CQS-9G3txfbFN2",
104         "line": 25,
105         "message": "Reduce the number of conditional operators (4) used in the expression",
106         "project": "myproject",
107         "projectKey": "foo",
108         "projectName": "Foo",
109         "rule": "javascript:S1067",
110         "ruleName": "foo",
111         "secondaryLocations": Array [],
112         "severity": "MAJOR",
113         "status": "OPEN",
114         "textRange": Object {
115           "endLine": 26,
116           "endOffset": 15,
117           "startLine": 25,
118           "startOffset": 0,
119         },
120         "transitions": Array [],
121         "type": "BUG",
122       }
123     }
124     selected={false}
125   />
126 </div>
127 `;