(expFontColors)
| 223 | } |
| 224 | |
| 225 | function _checkFontColors(expFontColors) { |
| 226 | return function() { |
| 227 | d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) { |
| 228 | expect(this.style.fill).toBe(rgb(expFontColors[i]), 'fill color of ' + i); |
| 229 | }); |
| 230 | }; |
| 231 | } |
| 232 | |
| 233 | function _checkFontFamilies(expFontFamilies) { |
| 234 | return function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…