(list)
| 314 | |
| 315 | describe('manageModeBar', function() { |
| 316 | function getButtons(list) { |
| 317 | for(var i = 0; i < list.length; i++) { |
| 318 | for(var j = 0; j < list[i].length; j++) { |
| 319 | // minimal button config object |
| 320 | list[i][j] = { name: list[i][j], click: noop }; |
| 321 | } |
| 322 | } |
| 323 | return list; |
| 324 | } |
| 325 | |
| 326 | function checkButtons(modeBar, buttons, logos) { |
| 327 | var expectedGroupCount = buttons.length + logos; |
no outgoing calls
no test coverage detected
searching dependent graphs…