]> source.dussan.org Git - sonarqube.git/blob
f72fdab814b72bc8d6a44337c492f5c51a530969
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly: has no list 1`] = `
4 <Select
5   aria-labelledby="measures-view-selection-label"
6   autoBlur={true}
7   components={
8     Object {
9       "Option": [Function],
10       "SingleValue": [Function],
11     }
12   }
13   isSearchable={false}
14   onChange={[Function]}
15   options={
16     Array [
17       Object {
18         "icon": <TreeIcon />,
19         "label": "component_measures.tab.tree",
20         "value": "tree",
21       },
22       Object {
23         "icon": <TreemapIcon />,
24         "label": "component_measures.tab.treemap",
25         "value": "treemap",
26       },
27     ]
28   }
29 />
30 `;
31
32 exports[`should render correctly: has no tree 1`] = `
33 <Select
34   aria-labelledby="measures-view-selection-label"
35   autoBlur={true}
36   components={
37     Object {
38       "Option": [Function],
39       "SingleValue": [Function],
40     }
41   }
42   isSearchable={false}
43   onChange={[Function]}
44   options={
45     Array [
46       Object {
47         "icon": <ListIcon />,
48         "label": "component_measures.tab.list",
49         "value": "list",
50       },
51     ]
52   }
53   value={
54     Object {
55       "icon": <ListIcon />,
56       "label": "component_measures.tab.list",
57       "value": "list",
58     }
59   }
60 />
61 `;
62
63 exports[`should render correctly: has no treemap 1`] = `
64 <Select
65   aria-labelledby="measures-view-selection-label"
66   autoBlur={true}
67   components={
68     Object {
69       "Option": [Function],
70       "SingleValue": [Function],
71     }
72   }
73   isSearchable={false}
74   onChange={[Function]}
75   options={
76     Array [
77       Object {
78         "icon": <TreeIcon />,
79         "label": "component_measures.tab.tree",
80         "value": "tree",
81       },
82       Object {
83         "icon": <ListIcon />,
84         "label": "component_measures.tab.list",
85         "value": "list",
86       },
87       Object {
88         "icon": <TreemapIcon />,
89         "label": "component_measures.tab.treemap",
90         "value": "treemap",
91       },
92     ]
93   }
94   value={
95     Object {
96       "icon": <ListIcon />,
97       "label": "component_measures.tab.list",
98       "value": "list",
99     }
100   }
101 />
102 `;