]> source.dussan.org Git - sonarqube.git/blob
e6f5de2d616dcdb7bb1b3c3089f7bfcacccfe28e
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render 1`] = `
4 <ListStyleFacet
5   facetHeader="issues.facet.assignees"
6   fetching={false}
7   getFacetItemText={[Function]}
8   getSearchResultKey={[Function]}
9   getSearchResultText={[Function]}
10   getSortedItems={[Function]}
11   loadSearchResultCount={[Function]}
12   maxInitialItems={15}
13   maxItems={100}
14   minSearchLength={2}
15   onChange={[MockFunction]}
16   onClear={[Function]}
17   onItemClick={[Function]}
18   onSearch={[Function]}
19   onToggle={[MockFunction]}
20   open={true}
21   property="assignees"
22   query={{}}
23   renderFacetItem={[Function]}
24   renderSearchResult={[Function]}
25   searchPlaceholder="search.search_for_users"
26   stats={
27     {
28       "": 5,
29       "bar": 7,
30       "baz": 6,
31       "foo": 13,
32     }
33   }
34   values={
35     [
36       "foo",
37     ]
38   }
39 />
40 `;
41
42 exports[`test behavior should correctly render facet item 1`] = `
43 <React.Fragment>
44   <withAppStateContext(Avatar)
45     className="little-spacer-right"
46     name="Name Baz"
47     size={16}
48   />
49   Name Baz
50 </React.Fragment>
51 `;
52
53 exports[`test behavior should correctly render facet item 2`] = `
54 <React.Fragment>
55   <withAppStateContext(Avatar)
56     className="little-spacer-right"
57     name="foo"
58     size={16}
59   />
60   user.x_deleted.foo
61 </React.Fragment>
62 `;
63
64 exports[`test behavior should correctly render search result correctly 1`] = `
65 <React.Fragment>
66   <withAppStateContext(Avatar)
67     className="little-spacer-right"
68     name="Name Bar"
69     size={16}
70   />
71   <React.Fragment>
72     Name 
73     <mark>
74       Ba
75     </mark>
76     r
77   </React.Fragment>
78 </React.Fragment>
79 `;
80
81 exports[`test behavior should correctly render search result correctly 2`] = `
82 <React.Fragment>
83   <withAppStateContext(Avatar)
84     className="little-spacer-right"
85     name="foo"
86     size={16}
87   />
88   <React.Fragment>
89     user.x_deleted.
90     <mark>
91       fo
92     </mark>
93     o
94   </React.Fragment>
95 </React.Fragment>
96 `;