MCPcopy
hub / github.com/plotly/plotly.js / assertMultipleLabels

Function assertMultipleLabels

test/jasmine/tests/sankey_test.js:1530–1536  ·  view source on GitHub ↗
(contentArray, styleArray)

Source from the content-addressed store, hash-verified

1528}
1529
1530function assertMultipleLabels(contentArray, styleArray) {
1531 var g = d3SelectAll('.hovertext');
1532 expect(g.size()).toEqual(contentArray.length);
1533 g.each(function(el, i) {
1534 _assertLabelGroup(d3Select(this), contentArray[i], styleArray[i]);
1535 });
1536}
1537
1538function _assertLabelGroup(g, content, style) {
1539 var lines = g.selectAll('.nums .line');

Callers 2

sankey_test.jsFile · 0.85
assertLabelFunction · 0.85

Calls 1

_assertLabelGroupFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…