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

Function _assertNumberOfBarTextNodes

test/jasmine/tests/bar_test.js:1985–1988  ·  view source on GitHub ↗
(cnt)

Source from the content-addressed store, hash-verified

1983
1984 it('should be able to add/remove text node on restyle', function(done) {
1985 function _assertNumberOfBarTextNodes(cnt) {
1986 var sel = d3Select(gd).select('.barlayer').selectAll('text');
1987 expect(sel.size()).toBe(cnt);
1988 }
1989
1990 Plotly.newPlot(gd, [{
1991 type: 'bar',

Callers 1

bar_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…