(colors)
| 239 | }); |
| 240 | |
| 241 | function _checkSliceColors(colors) { |
| 242 | return function() { |
| 243 | d3Select(gd).selectAll(SLICES_SELECTOR).each(function(d, i) { |
| 244 | expect(this.style.fill.replace(/(\s|rgb\(|\))/g, '')).toBe(colors[i], i); |
| 245 | }); |
| 246 | }; |
| 247 | } |
| 248 | |
| 249 | function _checkFontColors(expFontColors) { |
| 250 | return function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…