MCPcopy
hub / github.com/dc-js/dc.js / testBubbleRadiiCol3

Function testBubbleRadiiCol3

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

Source from the content-addressed store, hash-verified

641 }
642
643 function testBubbleRadiiCol3 (_chart) {
644 const bubbles = _chart.selectAll('circle.bubble').nodes();
645 const expected = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34.5, 16.1, 0, 0, 16.1, 59.1, 34.5, 16.1, 96, 0, 22.2, 0, 0, 0, 0];
646 bubbles.forEach((b, i) => {
647 expect(+d3.select(b).attr('r')).toBeWithinDelta(expected[i], 0.1);
648 });
649 }
650 function testBubbleTitlesCol3 (_chart) {
651 const titles = _chart.selectAll('g.node title').nodes();
652 const expected = [

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…