(expFontSizes)
| 1270 | } |
| 1271 | |
| 1272 | function assertTextFontSizes(expFontSizes) { |
| 1273 | return function() { |
| 1274 | var selection = d3SelectAll(BAR_TEXT_SELECTOR); |
| 1275 | expect(selection.size()).toBe(expFontSizes.length); |
| 1276 | selection.each(function(d, i) { |
| 1277 | expect(this.style.fontSize).toBe(expFontSizes[i] + 'px'); |
| 1278 | }); |
| 1279 | }; |
| 1280 | } |
| 1281 | |
| 1282 | it('should show bar texts (inside case)', function(done) { |
| 1283 | var data = [{ |
no outgoing calls
no test coverage detected
searching dependent graphs…