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

Function assertNodeCount

test/jasmine/tests/range_selector_test.js:476–478  ·  view source on GitHub ↗
(query, cnt)

Source from the content-addressed store, hash-verified

474 afterEach(destroyGraphDiv);
475
476 function assertNodeCount(query, cnt) {
477 expect(d3SelectAll(query).size()).toEqual(cnt);
478 }
479
480 function checkActiveButton(activeIndex, msg) {
481 d3SelectAll('.button').each(function(d, i) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…