(expFontFamilies)
| 1260 | } |
| 1261 | |
| 1262 | function assertTextFontFamilies(expFontFamilies) { |
| 1263 | return function() { |
| 1264 | var selection = d3SelectAll(BAR_TEXT_SELECTOR); |
| 1265 | expect(selection.size()).toBe(expFontFamilies.length); |
| 1266 | selection.each(function(d, i) { |
| 1267 | expect(this.style.fontFamily).toBe(expFontFamilies[i]); |
| 1268 | }); |
| 1269 | }; |
| 1270 | } |
| 1271 | |
| 1272 | function assertTextFontSizes(expFontSizes) { |
| 1273 | return function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…