(activeIndex, msg)
| 478 | } |
| 479 | |
| 480 | function checkActiveButton(activeIndex, msg) { |
| 481 | d3SelectAll('.button').each(function(d, i) { |
| 482 | expect(d._isActive).toBe(activeIndex === i, msg + ': button #' + i); |
| 483 | }); |
| 484 | } |
| 485 | |
| 486 | function checkButtonColor(bgColor, activeColor) { |
| 487 | d3SelectAll('.button').each(function(d) { |
no outgoing calls
no test coverage detected
searching dependent graphs…