(colors)
| 215 | }); |
| 216 | |
| 217 | function _checkSliceColors(colors) { |
| 218 | return function() { |
| 219 | d3Select(gd).selectAll(SLICES_SELECTOR).each(function(d, i) { |
| 220 | expect(this.style.fill.replace(/(\s|rgb\(|\))/g, '')).toBe(colors[i], i); |
| 221 | }); |
| 222 | }; |
| 223 | } |
| 224 | |
| 225 | function _checkFontColors(expFontColors) { |
| 226 | return function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…