]> source.dussan.org Git - sonarqube.git/blob
beb61d2d3fbee54562c3cff307b13dc76186356e
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: list element 1`] = `
4 <div>
5   <List
6     aria-label="project_plural"
7     autoHeight={true}
8     estimatedRowSize={30}
9     height={200}
10     isScrolling={false}
11     noRowsRenderer={[Function]}
12     onRowsRendered={[Function]}
13     onScroll={[Function]}
14     overscanIndicesGetter={[Function]}
15     overscanRowCount={2}
16     rowCount={2}
17     rowHeight={163}
18     rowRenderer={[Function]}
19     scrollToAlignment="auto"
20     scrollToIndex={-1}
21     scrollTop={0}
22     style={
23       Object {
24         "outline": "none",
25       }
26     }
27     width={200}
28   />
29 </div>
30 `;
31
32 exports[`renders correctly: row element 1`] = `
33 <div
34   role="row"
35   style={
36     Object {
37       "height": 143,
38     }
39   }
40 >
41   <div
42     role="gridcell"
43   >
44     <ProjectCard
45       currentUser={
46         Object {
47           "isLoggedIn": true,
48         }
49       }
50       height={143}
51       project={
52         Object {
53           "key": "foo",
54           "name": "Foo",
55         }
56       }
57       type="overall"
58     />
59   </div>
60 </div>
61 `;
62
63 exports[`renders different types of "no projects" 1`] = `
64 <div
65   className="projects-list"
66 >
67   <ContextConsumer>
68     <Component />
69   </ContextConsumer>
70 </div>
71 `;
72
73 exports[`renders different types of "no projects" 2`] = `
74 <div
75   className="projects-list"
76 >
77   <EmptySearch />
78 </div>
79 `;
80
81 exports[`renders different types of "no projects" 3`] = `
82 <div
83   className="projects-list"
84 >
85   <ContextConsumer>
86     <Component />
87   </ContextConsumer>
88 </div>
89 `;