MCPcopy Index your code
hub / github.com/dc-js/dc.js / testBubbleLabelsCol3

Function testBubbleLabelsCol3

spec/bubble-chart-spec.js:671–677  ·  view source on GitHub ↗
(_chart)

Source from the content-addressed store, hash-verified

669 });
670 }
671 function testBubbleLabelsCol3 (_chart) {
672 const labels = _chart.selectAll('g.node text').nodes();
673 const expected = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 0, 0, 1, 8, 4, 1, 14, 0, 2, 0, 0, 0, 0];
674 labels.forEach((l, i) => {
675 expect(+d3.select(l).text()).toBe(expected[i]);
676 });
677 }
678 describe('column filtering with straight crossfilter', () => {
679 beforeEach(() => {
680 const axisLabel = d3.select(heatMap.selectAll('.cols.axis text').nodes()[3]);

Callers 1

Calls 2

selectAllMethod · 0.80
selectMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…