1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should handle the descending sort direction 1`] = `
6 id="aria-projects-sort"
12 aria-labelledby="aria-projects-sort"
13 className="little-spacer-left input-medium it__projects-sort-select"
25 "className": undefined,
26 "label": "projects.sorting.name",
30 "className": undefined,
31 "label": "projects.sorting.analysis_date",
32 "value": "analysis_date",
35 "className": undefined,
36 "label": "projects.sorting.reliability",
37 "value": "reliability",
40 "className": undefined,
41 "label": "projects.sorting.security",
45 "className": undefined,
46 "label": "projects.sorting.security_review",
47 "value": "security_review",
50 "className": undefined,
51 "label": "projects.sorting.maintainability",
52 "value": "maintainability",
55 "className": undefined,
56 "label": "projects.sorting.coverage",
60 "className": undefined,
61 "label": "projects.sorting.duplications",
62 "value": "duplications",
65 "className": undefined,
66 "label": "projects.sorting.size",
74 overlay="projects.sort_descending"
77 aria-label="projects.sort_descending"
78 className="js-projects-sorting-invert spacer-left"
91 exports[`should render correctly for leak view 1`] = `
94 id="aria-projects-sort"
100 aria-labelledby="aria-projects-sort"
101 className="little-spacer-left input-medium it__projects-sort-select"
104 "Option": [Function],
109 onChange={[Function]}
113 "className": undefined,
114 "label": "projects.sorting.analysis_date",
115 "value": "analysis_date",
118 "className": undefined,
119 "label": "projects.sorting.name",
123 "className": "projects-leak-sorting-option",
124 "label": "projects.sorting.new_reliability",
125 "value": "new_reliability",
128 "className": "projects-leak-sorting-option",
129 "label": "projects.sorting.new_security",
130 "value": "new_security",
133 "className": "projects-leak-sorting-option",
134 "label": "projects.sorting.new_security_review",
135 "value": "new_security_review",
138 "className": "projects-leak-sorting-option",
139 "label": "projects.sorting.new_maintainability",
140 "value": "new_maintainability",
143 "className": "projects-leak-sorting-option",
144 "label": "projects.sorting.new_coverage",
145 "value": "new_coverage",
148 "className": "projects-leak-sorting-option",
149 "label": "projects.sorting.new_duplications",
150 "value": "new_duplications",
153 "className": "projects-leak-sorting-option",
154 "label": "projects.sorting.new_lines",
155 "value": "new_lines",
161 "className": "projects-leak-sorting-option",
162 "label": "projects.sorting.new_coverage",
163 "value": "new_coverage",
169 overlay="projects.sort_ascending"
172 aria-label="projects.sort_ascending"
173 className="js-projects-sorting-invert spacer-left"
175 innerRef={[Function]}
186 exports[`should render correctly for overall view 1`] = `
189 id="aria-projects-sort"
195 aria-labelledby="aria-projects-sort"
196 className="little-spacer-left input-medium it__projects-sort-select"
199 "Option": [Function],
204 onChange={[Function]}
208 "className": undefined,
209 "label": "projects.sorting.name",
213 "className": undefined,
214 "label": "projects.sorting.analysis_date",
215 "value": "analysis_date",
218 "className": undefined,
219 "label": "projects.sorting.reliability",
220 "value": "reliability",
223 "className": undefined,
224 "label": "projects.sorting.security",
228 "className": undefined,
229 "label": "projects.sorting.security_review",
230 "value": "security_review",
233 "className": undefined,
234 "label": "projects.sorting.maintainability",
235 "value": "maintainability",
238 "className": undefined,
239 "label": "projects.sorting.coverage",
243 "className": undefined,
244 "label": "projects.sorting.duplications",
245 "value": "duplications",
248 "className": undefined,
249 "label": "projects.sorting.size",
256 "className": undefined,
257 "label": "projects.sorting.name",
264 overlay="projects.sort_ascending"
267 aria-label="projects.sort_ascending"
268 className="js-projects-sorting-invert spacer-left"
270 innerRef={[Function]}
281 exports[`should render option correctly 1`] = `
283 className="it__project-sort-option-foo undefined"
296 exports[`should render option correctly 2`] = `
298 className="it__project-sort-option-foo undefined"