()
| 1249 | } |
| 1250 | |
| 1251 | function checkScatterGeoOrder() { |
| 1252 | var order = ['js-path', 'point', null]; |
| 1253 | var nodes = d3SelectAll('g.trace.scattergeo'); |
| 1254 | |
| 1255 | nodes.each(function() { |
| 1256 | var list = []; |
| 1257 | |
| 1258 | d3Select(this).selectAll('*').each(function() { |
| 1259 | var className = d3Select(this).attr('class'); |
| 1260 | list.push(className); |
| 1261 | }); |
| 1262 | |
| 1263 | var listSorted = list.slice().sort(function(a, b) { |
| 1264 | return order.indexOf(a) - order.indexOf(b); |
| 1265 | }); |
| 1266 | |
| 1267 | expect(list).toEqual(listSorted); |
| 1268 | }); |
| 1269 | } |
| 1270 | |
| 1271 | function countChoroplethPaths() { |
| 1272 | return d3SelectAll('g.trace.choropleth') |
no outgoing calls
no test coverage detected
searching dependent graphs…