(expFontColors)
| 247 | } |
| 248 | |
| 249 | function _checkFontColors(expFontColors) { |
| 250 | return function() { |
| 251 | d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) { |
| 252 | expect(this.style.fill).toBe(rgb(expFontColors[i]), 'fill color of ' + i); |
| 253 | }); |
| 254 | }; |
| 255 | } |
| 256 | |
| 257 | function _checkFontFamilies(expFontFamilies) { |
| 258 | return function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…