(n)
| 356 | |
| 357 | it('should generate legend labels with their associated group text', () => { |
| 358 | function legendText (n) { |
| 359 | return d3.select(chart.selectAll('g.dc-legend g.dc-legend-item text').nodes()[n]).text(); |
| 360 | } |
| 361 | expect(legendText(0)).toBe('Date Value Group Bar'); |
| 362 | expect(legendText(1)).toBe('Date ID Group'); |
| 363 | expect(legendText(2)).toBe('Date Value Group Line 1'); |
no test coverage detected
searching dependent graphs…